aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-26 10:32:07 -0500
committerTed Gould <ted@canonical.com>2009-08-26 10:32:07 -0500
commitbd24e02220d5158b1b502771bbba3012848fcef5 (patch)
tree0d0dcd6955e789121fe4212a1a1934baba180dd3
parentcffb400b0c368f4314f734596c144278dbb2ce53 (diff)
downloadayatana-indicator-messages-bd24e02220d5158b1b502771bbba3012848fcef5.tar.gz
ayatana-indicator-messages-bd24e02220d5158b1b502771bbba3012848fcef5.tar.bz2
ayatana-indicator-messages-bd24e02220d5158b1b502771bbba3012848fcef5.zip
Setting the attention parameter in the dbus interface.
-rw-r--r--src/messages-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index d23e9ee..6b11e8c 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -441,7 +441,7 @@ server_count_changed (AppMenuItem * appitem, guint count, gpointer data)
if (count != 0) {
g_debug("Setting image to 'new'");
showing_new_icon = TRUE;
- /* gtk_image_set_from_icon_name(GTK_IMAGE(main_image), "indicator-messages-new", DESIGN_TEAM_SIZE); */
+ message_service_dbus_set_attention(dbus_interface, TRUE);
return;
}
@@ -462,7 +462,7 @@ server_count_changed (AppMenuItem * appitem, guint count, gpointer data)
if (!we_have_indicators) {
g_debug("Setting image to boring");
showing_new_icon = FALSE;
- /* gtk_image_set_from_icon_name(GTK_IMAGE(main_image), "indicator-messages", DESIGN_TEAM_SIZE); */
+ message_service_dbus_set_attention(dbus_interface, FALSE);
}
return;