aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-messages.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-26 10:50:02 -0500
committerTed Gould <ted@canonical.com>2009-08-26 10:50:02 -0500
commit0f990e5a823361e8e428aea77d2db1b7a1cbe8b4 (patch)
treeb9a2c4b7106fe3d01ece91f5012879a306ba0d6f /src/indicator-messages.c
parentf551d2604b0afbcb682b5836e98e40db074c447c (diff)
downloadayatana-indicator-messages-0f990e5a823361e8e428aea77d2db1b7a1cbe8b4.tar.gz
ayatana-indicator-messages-0f990e5a823361e8e428aea77d2db1b7a1cbe8b4.tar.bz2
ayatana-indicator-messages-0f990e5a823361e8e428aea77d2db1b7a1cbe8b4.zip
The documentation clearly states that you don't need these if the client supports introspection. I thought I was being old school by still putting them in. But, THE DOCUMENTATION LIES, you need to add the signals no matter what.
Diffstat (limited to 'src/indicator-messages.c')
-rw-r--r--src/indicator-messages.c2
1 files changed, 2 insertions, 0 deletions
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),