Make sure menu bar stops being hilighted when options are selected

This commit is contained in:
K. Lange 2018-06-04 18:50:36 +09:00
parent 53d041135c
commit b111044cca
3 changed files with 5 additions and 0 deletions

View File

@ -69,6 +69,7 @@ static void _menu_action_help(struct MenuEntry * entry) {
system("help-browser file-browser.trt");
exit(0);
}
redraw_window();
}
static void _menu_action_about(struct MenuEntry * entry) {
@ -77,6 +78,7 @@ static void _menu_action_about(struct MenuEntry * entry) {
system("about \"About File Browser\" /usr/share/icons/48/folder.bmp \"ToaruOS File Browser\" \"(C) 2018 K. Lange\n-\nPart of ToaruOS, which is free software\nreleased under the NCSA/University of Illinois\nlicense.\n-\n%https://toaruos.org\n%https://github.com/klange/toaru-nih\"");
exit(0);
}
redraw_window();
}
int main(int argc, char * argv[]) {

View File

@ -69,6 +69,7 @@ static void _menu_action_about(struct MenuEntry * entry) {
system("about \"About Help Browser\" /usr/share/icons/48/help.bmp \"ToaruOS Help Browser\" \"(C) 2018 K. Lange\n-\nPart of ToaruOS, which is free software\nreleased under the NCSA/University of Illinois\nlicense.\n-\n%https://toaruos.org\n%https://github.com/klange/toaru-nih\"");
exit(0);
}
redraw_window();
}
int main(int argc, char * argv[]) {

View File

@ -1797,6 +1797,7 @@ void _menu_action_show_about(struct MenuEntry * self) {
system("about \"About Terminal\" /usr/share/icons/48/utilities-terminal.bmp \"ToaruOS Terminal\" \"(C) 2013-2018 K. Lange\n-\nPart of ToaruOS, which is free software\nreleased under the NCSA/University of Illinois\nlicense.\n-\n%https://toaruos.org\n%https://github.com/klange/toaru-nih\"");
exit(0);
}
render_decors();
}
void _menu_action_show_help(struct MenuEntry * self) {
@ -1804,6 +1805,7 @@ void _menu_action_show_help(struct MenuEntry * self) {
system("help-browser terminal.trt");
exit(0);
}
render_decors();
}
void _menu_action_copy(struct MenuEntry * self) {