Merge lp:~gotwig/indicator-pantheon-session/indicator-pantheon-session-Without-Hibernate into lp:~elementary-pantheon/elementaryos/os-patch-indicator-session-precise-legacy

Proposed by Eduard Gotwig
Status: Merged
Merged at revision: 30
Proposed branch: lp:~gotwig/indicator-pantheon-session/indicator-pantheon-session-Without-Hibernate
Merge into: lp:~elementary-pantheon/elementaryos/os-patch-indicator-session-precise-legacy
Diff against target: 12 lines (+1/-1)
1 file modified
src/device-menu-mgr.c (+1/-1)
To merge this branch: bzr merge lp:~gotwig/indicator-pantheon-session/indicator-pantheon-session-Without-Hibernate
Reviewer Review Type Date Requested Status
Cody Garver (community) Approve
Review via email: mp+157961@code.launchpad.net

Description of the change

Remove the hibernate entry and function from the code, as its disabled by default in 12.04.

Later this is no longer needed, as Linux kernel 3.8+ has a mixed hibernate/suspend feature in its own, so there is no need for hibernate.

To post a comment you must log in.
31. By Eduard Gotwig

less drastical change to hide hibernate entry by default

Revision history for this message
Eduard Gotwig (gotwig) wrote :

(note, this is not the "real" standard setup)

Image:

http://i.imgur.com/ispDWfs.jpg

Revision history for this message
Cody Garver (codygarver) wrote :

Yay.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/device-menu-mgr.c'
2--- src/device-menu-mgr.c 2012-05-11 15:53:14 +0000
3+++ src/device-menu-mgr.c 2013-04-09 21:44:19 +0000
4@@ -52,7 +52,7 @@
5
6 static gboolean can_hibernate = TRUE;
7 static gboolean can_suspend = TRUE;
8-static gboolean allow_hibernate = TRUE;
9+static gboolean allow_hibernate = FALSE;
10 static gboolean allow_suspend = TRUE;
11
12 static DBusGProxy * up_main_proxy = NULL;

Subscribers

People subscribed via source and target branches