aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2467dd4..b6374f0 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -460,6 +460,7 @@ server_added (IndicateListener * listener, IndicateListenerServer * server, gcha
sl_item->menuitem = menuitem;
sl_item->imList = NULL;
sl_item->attention = FALSE;
+ sl_item->count = 0;
/* Incase we got an indicator first */
GList * alreadythere = g_list_find_custom(serverList, sl_item, serverList_equal);
@@ -715,6 +716,7 @@ indicator_added (IndicateListener * listener, IndicateListenerServer * server, I
sl_item->menuitem = NULL;
sl_item->imList = NULL;
sl_item->attention = FALSE;
+ sl_item->count = 0;
serverList = g_list_insert_sorted(serverList, sl_item, serverList_sort);
} else {