ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #00531
[Branch ~indicator-applet-developers/indicator-applet/applet] Rev 331: GNOME Stracciatella fix to disable the session applet.
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 <martin.pitt@xxxxxxxxxx>
committer: Ted Gould <ted@xxxxxxxxxxxxx>
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;