GNOME Bugzilla – Bug 642067
Add a "session-name" property which specifies which session to use
Last modified: 2011-02-14 15:33:44 UTC
Currently we have two sessions: "gnome" "gnome-fallback" This adds a GSetting which allows choosing between these, and potentially any arbitrary .desktop file that a fork or embed may write. This key will be toggled by gnome-control-center to implement the "always fall back" preference.
Created attachment 180623 [details] [review] Add a "session-name" property which specifies which session to use
Created attachment 180634 [details] [review] Add gnome-session.pc gnome-control-center at least will be manipulating some of the session schema, so we need the ability to express a hard dependency.
Created attachment 180635 [details] [review] Add a "session-name" property which specifies which session to use Compile tested now =)
the description of the key should probably mention what the keys are referring to (desktop files in /usr/share/gnome-session/sessions) and what happens if the file is not found
Review of attachment 180635 [details] [review]: If gnome-control-center will work on the schema, then the key should be added to gsettings-desktop-schemas, in org.gnome.desktop.session.gschema.xml. Apart from that, the patch is fine. So please add the key to gsettings-desktop-schemas and commit the code changes here. Thanks!
commited.