aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-08 15:20:32 -0400
committerTed Gould <ted@canonical.com>2009-10-08 15:20:32 -0400
commitefc1fc3827bbd395f920e3e41eedc8e9db967b6c (patch)
tree61279fe4241f1ab20facd57e86e9c4b3471bfc5b
parentbd03c8fed418c3c9a720e871ab511d15d5373da8 (diff)
parentc152f3a0da6cbb83c699d0f26d5a411db3de1e37 (diff)
downloadayatana-indicator-session-efc1fc3827bbd395f920e3e41eedc8e9db967b6c.tar.gz
ayatana-indicator-session-efc1fc3827bbd395f920e3e41eedc8e9db967b6c.tar.bz2
ayatana-indicator-session-efc1fc3827bbd395f920e3e41eedc8e9db967b6c.zip
Name fix
-rw-r--r--debian/changelog6
-rw-r--r--src/status-provider-mc5.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index b182752..334eb2e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+indicator-session (0.1.7-0ubuntu1~ppa2~mc5fix2) UNRELEASED; urgency=low
+
+ * Name fix
+
+ -- Ted Gould <ted@ubuntu.com> Thu, 08 Oct 2009 15:20:18 -0400
+
indicator-session (0.1.7-0ubuntu1~ppa2~mc5fix1) karmic; urgency=low
* MC5 Fix testing.
diff --git a/src/status-provider-mc5.c b/src/status-provider-mc5.c
index 46d5562..a904407 100644
--- a/src/status-provider-mc5.c
+++ b/src/status-provider-mc5.c
@@ -199,11 +199,11 @@ status_provider_mc5_finalize (GObject *object)
static void
dbus_namechange (DBusGProxy * proxy, const gchar * name, const gchar * prev, const gchar * new, StatusProviderMC5 * self)
{
- if (new != NULL && g_strcmp0(name, MC5_WELL_KNOWN_NAME) == 0) {
+ if (new != NULL && g_strcmp0(new, MC5_WELL_KNOWN_NAME) == 0) {
g_debug("MC5 Coming online");
build_eam(self);
}
- if (prev != NULL && g_strcmp0(name, MC5_WELL_KNOWN_NAME) == 0) {
+ if (prev != NULL && g_strcmp0(prev, MC5_WELL_KNOWN_NAME) == 0) {
g_debug("MC5 going offline");
StatusProviderMC5Private * priv = STATUS_PROVIDER_MC5_GET_PRIVATE(self);
if (priv->manager != NULL) {