diff options
Diffstat (limited to 'src/app-menu-item.c')
-rw-r--r-- | src/app-menu-item.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c index 4501f43..4af0c7f 100644 --- a/src/app-menu-item.c +++ b/src/app-menu-item.c @@ -160,6 +160,9 @@ app_menu_item_new (IndicateListener * listener, IndicateListenerServer * server) g_signal_connect(G_OBJECT(self), "activate", G_CALLBACK(activate_cb), NULL); + indicate_listener_server_show_interest(listener, server, INDICATE_INTEREST_SERVER_DISPLAY); + indicate_listener_server_show_interest(listener, server, INDICATE_INTEREST_SERVER_SIGNAL); + return self; } @@ -179,6 +182,11 @@ type_cb (IndicateListener * listener, IndicateListenerServer * server, gchar * v /* For IM and Microblogging we want the individual items, not a count */ priv->count_on_label = TRUE; update_label(self); + + indicate_listener_server_show_interest(listener, server, INDICATE_INTEREST_INDICATOR_COUNT); + } else { + indicate_listener_server_show_interest(listener, server, INDICATE_INTEREST_INDICATOR_DISPLAY); + indicate_listener_server_show_interest(listener, server, INDICATE_INTEREST_INDICATOR_SIGNAL); } return; |