~skypce/indicator-session/indicator-session

« back to all changes in this revision

Viewing changes to src/users-service.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-09-04 11:46:25 UTC
  • mto: (13.1.3 lucid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20090904114625-dm551kwmdmy5hu3k
Tags: upstream-0.1.1
ImportĀ upstreamĀ versionĀ 0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
 
114
114
        if (check_guest_session()) {
115
115
                mi = dbusmenu_menuitem_new();
116
 
                dbusmenu_menuitem_property_set(mi, "label", _("Guest Session"));
 
116
                dbusmenu_menuitem_property_set(mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Guest Session"));
117
117
                dbusmenu_menuitem_child_append(root, mi);
118
118
                g_signal_connect(G_OBJECT(mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(activate_guest_session), NULL);
119
119
        }
120
120
 
121
121
        if (check_new_session()) {
122
122
                mi = dbusmenu_menuitem_new();
123
 
                dbusmenu_menuitem_property_set(mi, "label", _("New Session..."));
 
123
                dbusmenu_menuitem_property_set(mi, DBUSMENU_MENUITEM_PROP_LABEL, _("New Session..."));
124
124
                dbusmenu_menuitem_child_append(root, mi);
125
125
                g_signal_connect(G_OBJECT(mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(activate_new_session), NULL);
126
126
        }