GNOME Bugzilla – Bug 689300
Add a org.gnome.Shell.Mode D-Bus property
Last modified: 2012-11-30 23:28:50 UTC
Knowing the global.session_mode would be useful for gnome-tweak-tool to figure out which schema to tweak for the button-layout key -- the one for the vanilla shell or the one for the default-minimize extension for the classic mode.
Created attachment 230219 [details] [review] dbus: Add a read-only ShellMode property
Review of attachment 230219 [details] [review]: Why not SessionMode? I really dislike the duplication in 'org.gnome.Shell.ShellFoo' (if you prefer 'org.gnome.Shell.Mode' to match the command line parameter, I'd be fine with that as well)
I prefer Mode myself, but then I saw ShellVersion and assumed that it is some kind of convention. I'll change it to org.gnome.Shell.Mode.
Created attachment 230268 [details] [review] dbus: Add a read-only org.gnome.Shell.Mode property
Created attachment 230299 [details] [review] dbus: Add a read-only org.gnome.Shell.Mode property dbus: Add a read-only org.gnome.Shell.Mode property This is meant to expose the global.session_mode to applications such as the gnome-tweak-tool, which would need it to differentiate between the vanilla GNOME Shell mode and the fallback replacement mode.
From #gnome-shell on irc.gnome.org: <fmuellner> sure