dbfin / gnome-shell-extension-yawl

23 stars 5 forks source link

Option to not add remote menu entries to YAWL right-click menu #36

Open ghost opened 10 years ago

ghost commented 10 years ago

Fallback Appmenu will be less ugly in 3.12 than previous, so it would be nice to disable one's in YAWL. Source, watch last screenshot: http://blogs.gnome.org/mclasen/2014/01/13/client-side-decorations-continued/

dbfin commented 10 years ago

Not quite sure what you mean here. Will it not work? Will it still be in the GS AppMenu? Will it be possible to disable GS AppMenu at all and have all menus inside the window, so that you want to disable it in YAWL panel as well? I think to make the option is quite easy in itself, but I am just trying to understand what it will be with the AppMenu stuff in GS 3.12, so that should I make any changes by default, or as an option.

ghost commented 10 years ago

Remote menus will always work. You can enable fallback appmenu for GNOME 3.6 and later running: gsettings set org.gnome.settings-daemon.plugins.xsettings overrides '@a{sv} {"Gtk/ShellShowsAppMenu": <int32 0>}' You can disable fallback appmenu: gsettings set org.gnome.settings-daemon.plugins.xsettings overrides '@a{sv} {}'

This will add fallback GTK+ menu to applications - you will see same if you run GNOME 3 applications outside GNOME Shell. Some applications like Nautilus or Epiphany will add Appmenu options into Gear, another will add this options as another line of menus(like Totem, GNOME Tweak Tool, GNOME Clocks, etc)

You can add option to YAWL which check/set this key to prevent menu options from duplication/missing in both YAWL and applications.

dbfin commented 10 years ago

Ok, got it. This should be possible, and sounds like a good idea. This also makes sense to disable right-click app-specific menus once it is removed from the GS AppMenu.