Make sure menu bar stops being hilighted when options are selected
This commit is contained in:
parent
53d041135c
commit
b111044cca
@ -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[]) {
|
||||
|
@ -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[]) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user