aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-03 10:36:10 -0500
committerTed Gould <ted@canonical.com>2009-04-03 10:36:10 -0500
commit16abe6d51d92d3b2ec9bd7899705a1a636ec2f74 (patch)
tree1005dff6232acec504bf24c6bc31f3b85f6a0de7
parent96c188390cec3abfbaf078cd4bf69f18e8c2bc27 (diff)
downloadlibayatana-indicator-16abe6d51d92d3b2ec9bd7899705a1a636ec2f74.tar.gz
libayatana-indicator-16abe6d51d92d3b2ec9bd7899705a1a636ec2f74.tar.bz2
libayatana-indicator-16abe6d51d92d3b2ec9bd7899705a1a636ec2f74.zip
Adding interests on new servers saying that we're displaying the indicators and in the server.
-rw-r--r--tests/listen-and-print.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/listen-and-print.c b/tests/listen-and-print.c
index 2535160..dcad92b 100644
--- a/tests/listen-and-print.c
+++ b/tests/listen-and-print.c
@@ -111,6 +111,11 @@ server_added (IndicateListener * listener, IndicateListenerServer * server, gcha
g_debug("Indicator Server Added: %s %s", INDICATE_LISTENER_SERVER_DBUS_NAME(server), type);
indicate_listener_server_get_type(listener, server, type_cb, NULL);
indicate_listener_server_get_desktop(listener, server, desktop_cb, NULL);
+
+ indicate_listener_server_show_interest(listener, server, INDICATE_INTEREST_SERVER_DISPLAY);
+ indicate_listener_server_show_interest(listener, server, INDICATE_INTEREST_INDICATOR_DISPLAY);
+
+ return;
}
static void