diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2014-04-17 20:53:52 +0200 |
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2014-04-17 20:53:52 +0200 |
| commit | a488bbfcca2529199465a560a25c19700d3ca251 (patch) | |
| tree | a9aeca00da57c86ed335daf3150832bd95ee0997 /plugins | |
| parent | 8343d056e67e540a2d1ef06afb6bb95a05ad7cca (diff) | |
Use prompt_lock_requested signal.
(bzr r3788.2.2)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/unityshell/src/unityshell.cpp | 2 |
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); |
