diff options
author | Timothy Pearson <[email protected]> | 2012-04-24 19:39:48 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-04-24 19:39:48 -0500 |
commit | 4d538e404718982b0198ac3b44d5a894a30b5b12 (patch) | |
tree | 95cbe25cd65361c0a688106e6097ba524946ad8b /kdesktop/lock/lockprocess.cc | |
parent | 30617b6fb78c56e76aedd1480429dd4e68da201a (diff) | |
download | tdebase-4d538e404718982b0198ac3b44d5a894a30b5b12.tar.gz tdebase-4d538e404718982b0198ac3b44d5a894a30b5b12.zip |
Implement logout menu option in secure dialog
Ensure that cursor is not set to busy status on lock from secure dialog
Diffstat (limited to 'kdesktop/lock/lockprocess.cc')
-rw-r--r-- | kdesktop/lock/lockprocess.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc index 3c67ac06d..96c3b03da 100644 --- a/kdesktop/lock/lockprocess.cc +++ b/kdesktop/lock/lockprocess.cc @@ -674,6 +674,8 @@ void LockProcess::startSecureDialog() // the screensaver kicks in because the user moved the mouse after // selecting "lock screen", that looks really untidy. mBusy = true; + // Make sure the cursor is not showing busy status + setCursor( tqarrowCursor ); if (startLock()) { if (trinity_desktop_lock_delay_screensaver_start) { @@ -694,8 +696,13 @@ void LockProcess::startSecureDialog() } kapp->quit(); } + if (ret == 3) { + trinity_desktop_lock_closing_windows = 1; + DCOPRef("ksmserver","ksmserver").send("logout", -1, 0, 1); + kapp->quit(); + } // FIXME - // Handle remaining two cases (logoff menu and switch user) + // Handle remaining case (switch user) if (forcecontdisp) { ENABLE_CONTINUOUS_LOCKDLG_DISPLAY } |