From a2d2135f87d23b9749beae32bfac606170edf8b4 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 4 Jan 2010 15:21:48 -0600 Subject: Adding in a separator --- src/session-service.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/session-service.c b/src/session-service.c index b135371..bec7749 100644 --- a/src/session-service.c +++ b/src/session-service.c @@ -33,6 +33,7 @@ with this program. If not, see . #include #include +#include #include @@ -446,6 +447,10 @@ rebuild_items (DbusmenuMenuitem *root, g_signal_connect (G_OBJECT (mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK (activate_new_session), NULL); } } + + DbusmenuMenuitem * separator = dbusmenu_menuitem_new(); + dbusmenu_menuitem_property_set(separator, DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_CLIENT_TYPES_SEPARATOR); + dbusmenu_menuitem_child_append(root, separator); logout_mi = dbusmenu_menuitem_new(); if (supress_confirmations()) { -- cgit v1.2.3