Merge lp:~ted/indicator-session/go-to-sleep into lp:indicator-session/0.1

Proposed by Ted Gould
Status: Merged
Merged at revision: not available
Proposed branch: lp:~ted/indicator-session/go-to-sleep
Merge into: lp:indicator-session/0.1
Diff against target: 12 lines (+1/-1)
1 file modified
src/session-service.c (+1/-1)
To merge this branch: bzr merge lp:~ted/indicator-session/go-to-sleep
Reviewer Review Type Date Requested Status
David Barth Approve
Ivanka Majic Pending
Review via email: mp+22162@code.launchpad.net

Description of the change

Changing the menu item to 'Suspend'

To post a comment you must log in.
Revision history for this message
David Barth (dbarth) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/session-service.c'
2--- src/session-service.c 2010-03-18 19:01:25 +0000
3+++ src/session-service.c 2010-03-25 18:20:37 +0000
4@@ -637,7 +637,7 @@
5
6 if (can_suspend && allow_suspend) {
7 suspend_mi = dbusmenu_menuitem_new();
8- dbusmenu_menuitem_property_set(suspend_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Sleep"));
9+ dbusmenu_menuitem_property_set(suspend_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Suspend"));
10 dbusmenu_menuitem_child_append(root, suspend_mi);
11 g_signal_connect(G_OBJECT(suspend_mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(machine_sleep), "Suspend");
12 }

Subscribers

People subscribed via source and target branches