From 0f990e5a823361e8e428aea77d2db1b7a1cbe8b4 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 26 Aug 2009 10:50:02 -0500 Subject: 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. --- src/indicator-messages.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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), -- cgit v1.2.3