aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-04 20:30:53 -0500
committerTed Gould <ted@canonical.com>2009-09-04 20:30:53 -0500
commitaddb7fac30af90d62e3081c40a3aad37e65b9398 (patch)
tree16689fff99733f9cfa48cf64f4c9d49ced913f87 /src/messages-service.c
parentcb98b75a8ed64e1fd815b412b007ead62d46aace (diff)
downloadayatana-indicator-messages-addb7fac30af90d62e3081c40a3aad37e65b9398.tar.gz
ayatana-indicator-messages-addb7fac30af90d62e3081c40a3aad37e65b9398.tar.bz2
ayatana-indicator-messages-addb7fac30af90d62e3081c40a3aad37e65b9398.zip
Adding an attention parameter to the server and initing it.
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index e5024fe..8089375 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -71,6 +71,7 @@ typedef struct _serverList_t serverList_t;
struct _serverList_t {
IndicateListenerServer * server;
AppMenuItem * menuitem;
+ gboolean attention;
GList * imList;
};
@@ -421,6 +422,7 @@ server_added (IndicateListener * listener, IndicateListenerServer * server, gcha
sl_item->server = server;
sl_item->menuitem = menuitem;
sl_item->imList = NULL;
+ sl_item->attention = FALSE;
/* Incase we got an indicator first */
GList * alreadythere = g_list_find_custom(serverList, sl_item, serverList_equal);
@@ -683,6 +685,7 @@ indicator_added (IndicateListener * listener, IndicateListenerServer * server, I
sl_item->server = server;
sl_item->menuitem = NULL;
sl_item->imList = NULL;
+ sl_item->attention = FALSE;
serverList = g_list_insert_sorted(serverList, sl_item, serverList_sort);
} else {