Commit b7c80650 authored by Vincent Untz's avatar Vincent Untz Committed by Vincent Untz
Browse files

export GNOME_DESKTOP_SESSION_ID. We need this for compatibility reasons

2008-09-02  Vincent Untz  <vuntz@gnome.org>

	* gnome-session/main.c: (main): export GNOME_DESKTOP_SESSION_ID. We
	need this for compatibility reasons for third-party programs.
	Fix bug #542880.

svn path=/trunk/; revision=5031
parent 4cf2071b
2008-09-02 Vincent Untz <vuntz@gnome.org>
* gnome-session/main.c: (main): export GNOME_DESKTOP_SESSION_ID. We
need this for compatibility reasons for third-party programs.
Fix bug #542880.
2008-09-01 Vincent Untz <vuntz@gnome.org>
Add --logout, --force-logout, --logout-dialog and --shutdown-dialog
......
......@@ -548,6 +548,12 @@ main (int argc, char **argv)
gsm_util_setenv ("DISPLAY", display_str);
g_free (display_str);
/* Some third-party programs rely on GNOME_DESKTOP_SESSION_ID to
* detect if GNOME is running. We keep this for compatibility reasons.
*/
gsm_util_setenv ("GNOME_DESKTOP_SESSION_ID",
failsafe ? "failsafe" : "default");
client_store = gsm_store_new ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment