summaryrefslogtreecommitdiff
path: root/shutdown
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2013-02-20 20:18:33 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2013-02-20 20:18:33 +0100
commita8d7e31a563c20b3d02602f3ace138f26af3a296 (patch)
tree1176d0c76d8736797d6ad42aee68aafb545a33f9 /shutdown
parent7d6644aea34b979eb4db3fc9dfd7819abc69d961 (diff)
SessionController: use logout mode when requested
(bzr r3144.4.59)
Diffstat (limited to 'shutdown')
-rw-r--r--shutdown/SessionController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shutdown/SessionController.cpp b/shutdown/SessionController.cpp
index ac52531e3..ba036d207 100644
--- a/shutdown/SessionController.cpp
+++ b/shutdown/SessionController.cpp
@@ -48,7 +48,7 @@ Controller::Controller(session::Manager::Ptr const& manager)
});
manager_->logout_requested.connect([this] (bool inhibitors) {
- Show(View::Mode::FULL, inhibitors);
+ Show(View::Mode::LOGOUT, inhibitors);
});
manager_->cancel_requested.connect(sigc::mem_fun(this, &Controller::Hide));