aboutsummaryrefslogtreecommitdiff
path: root/src/notifications-service.c
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2011-05-16 14:14:36 -0400
committerJason Conti <jason.conti@gmail.com>2011-05-16 14:14:36 -0400
commit2fe93bc6c6c9d86277bc6b5f77135ed77e837fe4 (patch)
tree6d1a19f8c69f6bc2c97895fa17161ddb0a156283 /src/notifications-service.c
parentf055a17dbc1fcd39fc279ce60d65e62268ff30aa (diff)
downloadayatana-indicator-notifications-2fe93bc6c6c9d86277bc6b5f77135ed77e837fe4.tar.gz
ayatana-indicator-notifications-2fe93bc6c6c9d86277bc6b5f77135ed77e837fe4.tar.bz2
ayatana-indicator-notifications-2fe93bc6c6c9d86277bc6b5f77135ed77e837fe4.zip
Adding a new notification menuitem type. It isn't currently a custom menuitem, but may need to be eventually.
Diffstat (limited to 'src/notifications-service.c')
-rw-r--r--src/notifications-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/notifications-service.c b/src/notifications-service.c
index f0e82bf..2c07c57 100644
--- a/src/notifications-service.c
+++ b/src/notifications-service.c
@@ -69,6 +69,7 @@ add_notification_item(gpointer user_data)
DbusmenuMenuitem *item;
item = dbusmenu_menuitem_new();
+ dbusmenu_menuitem_property_set(item, DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_NOTIFICATION_MENUITEM_TYPE);
dbusmenu_menuitem_property_set(item, DBUSMENU_MENUITEM_PROP_LABEL, notification_get_summary(note));
dbusmenu_menuitem_child_add_position(root, item, 1);
g_queue_push_head(notification_items, item);