aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-03-15 10:39:19 -0500
committerTed Gould <ted@canonical.com>2009-03-15 10:39:19 -0500
commite527f992ac9276a22a680cda881e80ed70c9f73f (patch)
tree9afa3c5641fe3d2111e2502109e95956621e1ff3 /src
parente02359f6e727470c66e6f54c900843e09d3a8829 (diff)
downloadayatana-indicator-messages-e527f992ac9276a22a680cda881e80ed70c9f73f.tar.gz
ayatana-indicator-messages-e527f992ac9276a22a680cda881e80ed70c9f73f.tar.bz2
ayatana-indicator-messages-e527f992ac9276a22a680cda881e80ed70c9f73f.zip
Add simulation of zero count on server remove
Diffstat (limited to 'src')
-rw-r--r--src/indicator-messages.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index b5075d6..9a4ce6f 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -169,6 +169,9 @@ server_removed (IndicateListener * listener, IndicateListenerServer * server, gc
gtk_widget_hide(main_menu);
}
+ /* Simulate a server saying zero to recalculate icon */
+ server_count_changed(NULL, 0, NULL);
+
return;
}