aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-26 11:19:34 -0500
committerTed Gould <ted@canonical.com>2009-08-26 11:19:34 -0500
commita13c1cb4fad904f91df3b32bad5d49918cab01da (patch)
tree30ec7a8d546393fe49d97f761865f83638480710
parentd9debb0b236b8e1e3e404224d128443c9fb50819 (diff)
downloadayatana-indicator-messages-a13c1cb4fad904f91df3b32bad5d49918cab01da.tar.gz
ayatana-indicator-messages-a13c1cb4fad904f91df3b32bad5d49918cab01da.tar.bz2
ayatana-indicator-messages-a13c1cb4fad904f91df3b32bad5d49918cab01da.zip
Checking hidden when servers are added and removed as well.
-rw-r--r--src/messages-service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index d2f0785..23721be 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -437,6 +437,7 @@ server_added (IndicateListener * listener, IndicateListenerServer * server, gcha
/* Should be prepend ^ */
resort_menu(menushell);
+ check_hidden();
return;
}
@@ -539,6 +540,7 @@ server_removed (IndicateListener * listener, IndicateListenerServer * server, gc
/* Simulate a server saying zero to recalculate icon */
server_count_changed(NULL, 0, NULL);
+ check_hidden();
return;
}