@techee commented on this pull request.
> @@ -1122,6 +1129,18 @@ static gboolean check_fixed_kb(guint keyval, guint
> state)
return TRUE;
}
}
+ /* temporarily show the menubar again when triggering it while hidden */
+ if (state == 0 && keyval == GDK_KEY_F10 && ! ui_prefs.menubar_visible)
+ {
+ GtkWidget *const geany_menubar_box =
ui_lookup_widget(main_widgets.window, "hbox_menubar");
+ GtkWidget *const geany_menubar =
ui_lookup_widget(main_widgets.window, "menubar1");
+
+ gtk_widget_show(geany_menubar_box);
+ gtk_menu_shell_select_first(GTK_MENU_SHELL(geany_menubar),
TRUE);
+
+ return TRUE;
+ }
+ /* FIXME: handle Alt to focus the menu bar? */
Removed.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4279#discussion_r2235967643
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/4279/review/[email protected]>