GNOME Bugzilla – Bug 683759
Incorrect use of AppMenu
Last modified: 2012-09-22 06:57:07 UTC
Created attachment 223967 [details] screenshot Hi ! As the attached screenshot indicates (with two menubars), you might be incorrectly using the appmenu functionality of gtkapplication. Normally I see such apps having only one menu bar... Also, if you'd like a usability review on the prospect of killing the menubar entirely/redesigning your UI, let me know and I'd be happy to help.
It's not using it 'incorrectly'; it simply isn't using GMenu for the main menubar, so GtkApplicationWindow can't combine the two menubars. A quick way to fix this would be to do what I do e.g. in evince, gnome-terminal, gucharmap, that is to only install the app menu if there's gnome-shell actually running to show it. Just putting this at the top of initialize_app_menu() in main.c would do it: gboolean show_app_menu; g_object_get (gtk_settings_get_default (), "gtk-shell-shows-app-menu", &show_app_menu, NULL); if (!show_app_menu) return;
fixed now, thanks for the hint.
(In reply to comment #0) > > Also, if you'd like a usability review on the prospect of killing the menubar > entirely/redesigning your UI, let me know and I'd be happy to help. I'd like to see such a review, thanks for your interest.
*** Bug 684602 has been marked as a duplicate of this bug. ***