~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, Ted Gould
  • Date: 2009-09-04 11:46:25 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090904114625-5g05rhvko39xyi34
Tags: 0.1.1-0ubuntu1
* set bzr-builddeb merge mode to true for easy tarball build

[ Ted Gould ]
* Upstream update 0.1.1 for dbusmenu 0.1.2 (LP: #423975)
* debian/control: Increasing dbusmenu dep to 0.1.2

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
        }