aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-08 15:47:04 -0400
committerTed Gould <ted@canonical.com>2009-10-08 15:47:04 -0400
commit15705bea73cbf6d8a657cb72113bc8bcc1d78816 (patch)
tree196040aad1ce5ca1bcfa9848c8a2acc59d568fb4
parent9d152f3a8ef158e2d99d1e9b1b37c0e56a5c2183 (diff)
downloadayatana-indicator-session-15705bea73cbf6d8a657cb72113bc8bcc1d78816.tar.gz
ayatana-indicator-session-15705bea73cbf6d8a657cb72113bc8bcc1d78816.tar.bz2
ayatana-indicator-session-15705bea73cbf6d8a657cb72113bc8bcc1d78816.zip
Signaling a state change when disconnecting.
-rw-r--r--src/status-provider-mc5.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/status-provider-mc5.c b/src/status-provider-mc5.c
index b254d27..613c3df 100644
--- a/src/status-provider-mc5.c
+++ b/src/status-provider-mc5.c
@@ -212,6 +212,9 @@ dbus_namechange (DBusGProxy * proxy, const gchar * name, const gchar * prev, con
g_object_unref(priv->manager);
priv->manager = NULL;
}
+
+ priv->status = STATUS_PROVIDER_STATUS_DISCONNECTED;
+ g_signal_emit(G_OBJECT(self), STATUS_PROVIDER_SIGNAL_STATUS_CHANGED_ID, 0, priv->status, TRUE);
}
return;