aboutsummaryrefslogtreecommitdiff
path: root/src/users-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-03 15:06:41 -0500
committerTed Gould <ted@canonical.com>2009-09-03 15:06:41 -0500
commit05c10a122d33628420b9926fed96d2c53e8f535e (patch)
treea35b068d257ce3e6350a4e53927aa5523447a309 /src/users-service.c
parent41f1b3206ab13b008aed6670dc42636049c9590d (diff)
parentcdfa53bdefc312410ca350972eee33f0091edbbe (diff)
downloadayatana-indicator-session-05c10a122d33628420b9926fed96d2c53e8f535e.tar.gz
ayatana-indicator-session-05c10a122d33628420b9926fed96d2c53e8f535e.tar.bz2
ayatana-indicator-session-05c10a122d33628420b9926fed96d2c53e8f535e.zip
Merging in fixes related to the dbusmenu 0.1.1 release
Diffstat (limited to 'src/users-service.c')
-rw-r--r--src/users-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users-service.c b/src/users-service.c
index 9ada91f..5db832b 100644
--- a/src/users-service.c
+++ b/src/users-service.c
@@ -113,14 +113,14 @@ create_items (DbusmenuMenuitem * root) {
if (check_guest_session()) {
mi = dbusmenu_menuitem_new();
- dbusmenu_menuitem_property_set(mi, "label", _("Guest Session"));
+ dbusmenu_menuitem_property_set(mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Guest Session"));
dbusmenu_menuitem_child_append(root, mi);
g_signal_connect(G_OBJECT(mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(activate_guest_session), NULL);
}
if (check_new_session()) {
mi = dbusmenu_menuitem_new();
- dbusmenu_menuitem_property_set(mi, "label", _("New Session..."));
+ dbusmenu_menuitem_property_set(mi, DBUSMENU_MENUITEM_PROP_LABEL, _("New Session..."));
dbusmenu_menuitem_child_append(root, mi);
g_signal_connect(G_OBJECT(mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(activate_new_session), NULL);
}