aboutsummaryrefslogtreecommitdiff
path: root/src/users-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-03 13:46:44 -0500
committerTed Gould <ted@canonical.com>2009-09-03 13:46:44 -0500
commit4edd517ba3f85051cd4cecda211a86a97f6ddea3 (patch)
tree5c07a9168fdf4f00c41e9a5d1472174dabc53211 /src/users-service.c
parent974d47305444df724a9c6a5b93666fbd69d4fc5e (diff)
downloadayatana-indicator-session-4edd517ba3f85051cd4cecda211a86a97f6ddea3.tar.gz
ayatana-indicator-session-4edd517ba3f85051cd4cecda211a86a97f6ddea3.tar.bz2
ayatana-indicator-session-4edd517ba3f85051cd4cecda211a86a97f6ddea3.zip
Switching to using the defines for all of the properties.
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);
}