aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-26 10:50:45 -0500
committerTed Gould <ted@canonical.com>2009-08-26 10:50:45 -0500
commit31cbc3e083f92903da99298e77d1fddbcc976e48 (patch)
treea5b6905cfcf1ddccbef85433133abdcd4e63d697
parentab404ca31b8fff8823e141c8423879d4c51036d4 (diff)
parent0f990e5a823361e8e428aea77d2db1b7a1cbe8b4 (diff)
downloadayatana-indicator-messages-31cbc3e083f92903da99298e77d1fddbcc976e48.tar.gz
ayatana-indicator-messages-31cbc3e083f92903da99298e77d1fddbcc976e48.tar.bz2
ayatana-indicator-messages-31cbc3e083f92903da99298e77d1fddbcc976e48.zip
Registering the signals first.
-rw-r--r--debian/changelog6
-rw-r--r--src/indicator-messages.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index eb42367..c509c86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+indicator-messages (0.2.0~bzr126-0ubuntu1~ppa2~dot-and-hide4) UNRELEASED; urgency=low
+
+ * Registering the signals first.
+
+ -- Ted Gould <ted@ubuntu.com> Wed, 26 Aug 2009 10:50:25 -0500
+
indicator-messages (0.2.0~bzr126-0ubuntu1~ppa2~dot-and-hide3) karmic; urgency=low
* Updating service file.
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index ef77c28..0d2854b 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -116,12 +116,14 @@ setup_icon_proxy (gpointer userdata)
org_ayatana_indicator_messages_service_watch_async(icon_proxy, watch_cb, NULL);
+ dbus_g_proxy_add_signal(icon_proxy, "AttentionChanged", G_TYPE_BOOLEAN, G_TYPE_INVALID);
dbus_g_proxy_connect_signal(icon_proxy,
"AttentionChanged",
G_CALLBACK(attention_changed_cb),
NULL,
NULL);
+ dbus_g_proxy_add_signal(icon_proxy, "IconChanged", G_TYPE_BOOLEAN, G_TYPE_INVALID);
dbus_g_proxy_connect_signal(icon_proxy,
"IconChanged",
G_CALLBACK(icon_changed_cb),