diff options
Diffstat (limited to 'src/messages-service.c')
-rw-r--r-- | src/messages-service.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index b6374f0..764bcf4 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -424,7 +424,16 @@ server_attention (serverList_t * slt) return; } + GList * pointer; + for (pointer = slt->imList; pointer != NULL; pointer = g_list_next(pointer)) { + imList_t * ilt = (imList_t *)pointer->data; + if (im_menu_item_get_attention(IM_MENU_ITEM(ilt->menuitem))) { + slt->attention = TRUE; + return; + } + } + slt->attention = FALSE; return; } |