Merge lp:~azzar1/unity/lp-1460626 into lp:unity

Proposed by Andrea Azzarone
Status: Merged
Approved by: Marco Trevisan (Treviño)
Approved revision: no longer in the source branch.
Merged at revision: 4002
Proposed branch: lp:~azzar1/unity/lp-1460626
Merge into: lp:unity
Diff against target: 12 lines (+1/-1)
1 file modified
UnityCore/GnomeSessionManager.cpp (+1/-1)
To merge this branch: bzr merge lp:~azzar1/unity/lp-1460626
Reviewer Review Type Date Requested Status
Marco Trevisan (Treviño) Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+262443@code.launchpad.net

Commit message

Do not allow shutdown when screen is locked.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Ok

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'UnityCore/GnomeSessionManager.cpp'
--- UnityCore/GnomeSessionManager.cpp 2015-01-24 00:56:37 +0000
+++ UnityCore/GnomeSessionManager.cpp 2015-06-19 12:48:33 +0000
@@ -679,7 +679,7 @@
679679
680bool GnomeManager::CanShutdown() const680bool GnomeManager::CanShutdown() const
681{681{
682 return impl_->can_shutdown_;682 return !is_locked() && impl_->can_shutdown_;
683}683}
684684
685bool GnomeManager::CanSuspend() const685bool GnomeManager::CanSuspend() const