Martin Pitt has proposed merging 
lp:~pitti/indicator-applet/stracciatella-session-applet into 
lp:indicator-applet.

    Requested reviews:
    Indicator Applet Developers (indicator-applet-developers)
Related bugs:
  #444149 Session Indicator Still Appears in Stracciatella Session
  https://bugs.launchpad.net/bugs/444149


See bug 444149
-- 
https://code.launchpad.net/~pitti/indicator-applet/stracciatella-session-applet/+merge/13367
Your team ayatana-commits is subscribed to branch lp:indicator-applet.
=== 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:20:27 +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