Merge authors:
  Martin Pitt (pitti)
Related merge proposals:
  
https://code.launchpad.net/~pitti/indicator-applet/stracciatella-session-applet/+merge/13367
  proposed by: Martin Pitt (pitti)
------------------------------------------------------------
revno: 331 [merge]
author: Martin Pitt <[email protected]>
committer: Ted Gould <[email protected]>
branch nick: applet
timestamp: Thu 2009-10-15 15:38:14 -0500
message:
  GNOME Stracciatella fix to disable the session applet.
modified:
  src-session/applet-main.c


--
lp:indicator-applet
https://code.launchpad.net/~indicator-applet-developers/indicator-applet/applet

Your team ayatana-commits is subscribed to branch lp:indicator-applet.
To unsubscribe from this branch go to 
https://code.launchpad.net/~indicator-applet-developers/indicator-applet/applet/+edit-subscription.
=== modified file 'src-session/applet-main.c'
--- src-session/applet-main.c	2009-08-24 18:23:17 +0000
+++ src-session/applet-main.c	2009-10-14 18:16:48 +0000
@@ -214,6 +214,12 @@
 	gint indicators_loaded = 0;
 	static gboolean first_time = FALSE;
 
+	/* check if we are running stracciatella session */
+	if (g_strcmp0(g_getenv("GDMSESSION"), "gnome-stracciatella") == 0) {
+		g_debug("Running stracciatella GNOME session, disabling myself");
+		return TRUE;
+	}
+
 	if (!first_time)
 	{
         gint argc = 1;

_______________________________________________
Mailing list: https://launchpad.net/~ayatana-commits
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ayatana-commits
More help   : https://help.launchpad.net/ListHelp

Reply via email to