diff options
author | Ted Gould <ted@canonical.com> | 2009-09-03 15:06:41 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-03 15:06:41 -0500 |
commit | 05c10a122d33628420b9926fed96d2c53e8f535e (patch) | |
tree | a35b068d257ce3e6350a4e53927aa5523447a309 /src/users-service.c | |
parent | 41f1b3206ab13b008aed6670dc42636049c9590d (diff) | |
parent | cdfa53bdefc312410ca350972eee33f0091edbbe (diff) | |
download | ayatana-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.c | 4 |
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); } |