diff options
author | Ted Gould <ted@canonical.com> | 2009-10-08 15:38:27 -0400 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-08 15:38:27 -0400 |
commit | b96ce226431f4f2f70073b1ff808758ccd501292 (patch) | |
tree | 5da2253d49a9bdac03c3b25cc7944b3adb67f75e | |
parent | 9952b4360a3c6b2be4b418a2e88159b60acaeeab (diff) | |
parent | 9d152f3a8ef158e2d99d1e9b1b37c0e56a5c2183 (diff) | |
download | ayatana-indicator-session-b96ce226431f4f2f70073b1ff808758ccd501292.tar.gz ayatana-indicator-session-b96ce226431f4f2f70073b1ff808758ccd501292.tar.bz2 ayatana-indicator-session-b96ce226431f4f2f70073b1ff808758ccd501292.zip |
releasing version 0.1.7-0ubuntu1~ppa2~mc5fix4
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | src/status-provider-mc5.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog index 9c67500..d4874d8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +indicator-session (0.1.7-0ubuntu1~ppa2~mc5fix4) karmic; urgency=low + + * DBus NULL sucks! + + -- Ted Gould <ted@ubuntu.com> Thu, 08 Oct 2009 15:38:25 -0400 + indicator-session (0.1.7-0ubuntu1~ppa2~mc5fix3) karmic; urgency=low * Debug message diff --git a/src/status-provider-mc5.c b/src/status-provider-mc5.c index 068c482..b254d27 100644 --- a/src/status-provider-mc5.c +++ b/src/status-provider-mc5.c @@ -199,13 +199,13 @@ status_provider_mc5_finalize (GObject *object) static void dbus_namechange (DBusGProxy * proxy, const gchar * name, const gchar * prev, const gchar * new, StatusProviderMC5 * self) { - g_debug("DBUS NAMECHANGE: %s %s %s", name, prev, new); + /* g_debug("DBUS NAMECHANGE: %s %s %s", name, prev, new); */ - if (new != NULL && g_strcmp0(new, MC5_WELL_KNOWN_NAME) == 0) { + if (prev[0] == '\0' && g_strcmp0(name, MC5_WELL_KNOWN_NAME) == 0) { g_debug("MC5 Coming online"); build_eam(self); } - if (prev != NULL && g_strcmp0(prev, MC5_WELL_KNOWN_NAME) == 0) { + if (new[0] == '\0' && g_strcmp0(name, MC5_WELL_KNOWN_NAME) == 0) { g_debug("MC5 going offline"); StatusProviderMC5Private * priv = STATUS_PROVIDER_MC5_GET_PRIVATE(self); if (priv->manager != NULL) { |