GNOME Bugzilla – Bug 719279
Use gnome-shell's AppMenu
Last modified: 2018-07-03 14:04:17 UTC
---- Reported by shotwell-maint@gnome.bugs 2013-04-30 04:15:00 -0700 ---- Original Redmine bug id: 6883 Original URL: http://redmine.yorba.org/issues/6883 Searchable id: yorba-bug-6883 Original author: Xavier Claessens Original description: To get nicely integrated with gnome-shell's design, shotwel could use the app- menu instead of the menubar. This could need to discuss which item to have in the app menu, and eventually move the rest to a gear menu and/or toolbar like nautilus. Related issues: related to shotwell - Feature #7241: Consider using Gtk.HeaderBar (Open) ---- Additional Comments From shotwell-maint@gnome.bugs 2013-07-16 02:24:00 -0700 ---- ### History #### #1 Updated by Tomáš Hnyk 7 months ago If implemented, it would be nice if it worked only under Gnome Shell as some users (me included) do not use Gnome Shell and hate that particular design decision. #### #2 Updated by Jim Nelson 7 months ago * **Category** set to _ux_ * **Target version** set to _0.15.0_ We talked internally about this question. Supporting multiple menu systems means a lot of conditional code as menu items are shuffled between the AppMenu and the normal menu scheme. Additionally, I don't think Shotwell will ever move to a pure gear menu interface. There's a lot of menu items and it doesn't strike me as a step forward to stuff all of them into a single cascading dropdown menu. Both of the above are, of course, worth discussing, so don't take this as the final word on the matter. #### #3 Updated by Jim Nelson 6 months ago * **Target version** deleted (<strike>_0.15.0_</strike>) #### #4 Updated by Xavier Claessens 4 months ago Here is a branch: http://cgit.collabora.com/git/user/xclaesse/shotwell.git/log/?h=app-menu I'm not sure it is the best way to do it, though. Comments? #### #5 Updated by Joe Bylund 4 months ago Xavier, should this only affect Shotwell while running in gnome shell? #### #6 Updated by Yosef Or Boczko 4 months ago See "gtk-shell-shows-app-menu" setting: https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk- shell-shows-app-menu if the "gtk-shell-shows-app-menu" setting is FALSE, the AppMenu will be displayed as menu on menubar (will be created automatically). Need to do something like this: ׂgboolean appmenu; g_object_get (gtk_settings_get_default (), "gtk-shell-shows-app-menu", &appmenu, NULL); if (appmenu) { /* Create app menu */ } else { /* Add the item of an appmenu to the gearmenu */ } #### #7 Updated by Xavier Claessens 4 months ago Ok, branch updated to do that. Thanks for the tip. --- Bug imported by chaz@yorba.org 2013-11-25 22:11 UTC --- This bug was previously known as _bug_ 6883 at http://redmine.yorba.org/show_bug.cgi?id=6883 Unknown version " in product shotwell. Setting version to "!unspecified". Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one. Resolution set on an open status. Dropping resolution
Created attachment 340785 [details] [review] Use AppMenu Signed-off-by: Jens Georg <mail@jensge.org>
Created attachment 341093 [details] [review] Use AppMenu Signed-off-by: Jens Georg <mail@jensge.org>
Attachment 341093 [details] pushed as 6e6a51b - Use AppMenu
That needs a better plan for non-gnome-shell and non-unity environments.
GNOME will probably phase out the AppMenu anyway