diff options
author | Ted Gould <ted@canonical.com> | 2009-10-08 15:47:45 -0400 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-08 15:47:45 -0400 |
commit | cf441b9b42df84f537b6b6da3c86ced7d8652c07 (patch) | |
tree | 69a84a6e48f562231303de661f3dfa4e98335c4f | |
parent | b96ce226431f4f2f70073b1ff808758ccd501292 (diff) | |
parent | 15705bea73cbf6d8a657cb72113bc8bcc1d78816 (diff) | |
download | ayatana-indicator-session-cf441b9b42df84f537b6b6da3c86ced7d8652c07.tar.gz ayatana-indicator-session-cf441b9b42df84f537b6b6da3c86ced7d8652c07.tar.bz2 ayatana-indicator-session-cf441b9b42df84f537b6b6da3c86ced7d8652c07.zip |
Signaling when we destory the item
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | src/status-provider-mc5.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index d4874d8..ba24e74 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +indicator-session (0.1.7-0ubuntu1~ppa2~mc5fix5) UNRELEASED; urgency=low + + * Signaling when we destory the item + + -- Ted Gould <ted@ubuntu.com> Thu, 08 Oct 2009 15:47:26 -0400 + indicator-session (0.1.7-0ubuntu1~ppa2~mc5fix4) karmic; urgency=low * DBus NULL sucks! 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; |