summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2014-04-17 20:53:52 +0200
committerAndrea Azzarone <azzaronea@gmail.com>2014-04-17 20:53:52 +0200
commita488bbfcca2529199465a560a25c19700d3ca251 (patch)
treea9aeca00da57c86ed335daf3150832bd95ee0997 /plugins
parent8343d056e67e540a2d1ef06afb6bb95a05ad7cca (diff)
Use prompt_lock_requested signal.
(bzr r3788.2.2)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/unityshell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 158bc3c8e..9f6dc49b3 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -3844,7 +3844,7 @@ void UnityScreen::initLauncher()
// Setup Session Controller
auto manager = std::make_shared<session::GnomeManager>();
manager->lock_requested.connect(sigc::mem_fun(this, &UnityScreen::OnLockScreenRequested));
- manager->locked.connect(sigc::mem_fun(this, &UnityScreen::OnLockScreenRequested));
+ manager->prompt_lock_requested.connect(sigc::mem_fun(this, &UnityScreen::OnLockScreenRequested));
manager->locked.connect(sigc::bind(sigc::mem_fun(this, &UnityScreen::SaveLockStamp), true));
manager->unlocked.connect(sigc::bind(sigc::mem_fun(this, &UnityScreen::SaveLockStamp), false));
session_dbus_manager_ = std::make_shared<session::DBusManager>(manager);