From 477eb614f187d1b7e35018c5a13df6db364395d0 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 19 Feb 2009 16:21:42 +0100 Subject: releasing version 0.1.1-0ubuntu1 --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index ec3f42b..9c0b5f5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -indicator-applet (0.1.1-0ubuntu1) UNRELEASED; urgency=low +indicator-applet (0.1.1-0ubuntu1) jaunty; urgency=low * New upstream release with some icon changes. * debian/control: Fix Vcs-Bzr. @@ -7,7 +7,7 @@ indicator-applet (0.1.1-0ubuntu1) UNRELEASED; urgency=low * debian/copyright: Fix leftover word "either" from the license description. - -- Martin Pitt Thu, 19 Feb 2009 16:07:32 +0100 + -- Martin Pitt Thu, 19 Feb 2009 16:12:01 +0100 indicator-applet (0.1-0ubuntu1) jaunty; urgency=low -- cgit v1.2.3 From 3bc5b8e8105d698e7782c8090148dbe8f135161f Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 19 Feb 2009 17:25:15 +0100 Subject: src/applet-main.c, applet_fill_cb(): Do not show anything if we are running under a stracciatella GNOME session (i. e. without Ubuntu components). See UbuntuSpec:stracciatella-session. --- debian/changelog | 8 ++++++++ src/applet-main.c | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/debian/changelog b/debian/changelog index 9c0b5f5..a9fce89 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +indicator-applet (0.1.1-0ubuntu2) UNRELEASED; urgency=low + + * src/applet-main.c, applet_fill_cb(): Do not show anything if we + are running under a stracciatella GNOME session (i. e. without + Ubuntu components). See UbuntuSpec:stracciatella-session. + + -- Martin Pitt Thu, 19 Feb 2009 17:24:04 +0100 + indicator-applet (0.1.1-0ubuntu1) jaunty; urgency=low * New upstream release with some icon changes. diff --git a/src/applet-main.c b/src/applet-main.c index 57dc6b3..6efd33f 100644 --- a/src/applet-main.c +++ b/src/applet-main.c @@ -100,6 +100,12 @@ applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data) GtkWidget *menubar; gint i; gint indicators_loaded = 0; + + /* 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; + } /* Set panel options */ gtk_container_set_border_width(GTK_CONTAINER (applet), 0); -- cgit v1.2.3