summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdesktop/lock/lockprocess.cc4
-rw-r--r--kdesktop/lock/securedlg.cc1
2 files changed, 4 insertions, 1 deletions
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
index 6b708801b..3ec3ad74b 100644
--- a/kdesktop/lock/lockprocess.cc
+++ b/kdesktop/lock/lockprocess.cc
@@ -619,6 +619,10 @@ void LockProcess::startSecureDialog()
stopSaver();
mBusy = false;
}
+ if (ret == 2) {
+ system("ksysguard &");
+ kapp->quit();
+ }
// FIXME
// Handle remaining two cases (task manager and logoff menu)
stopSaver();
diff --git a/kdesktop/lock/securedlg.cc b/kdesktop/lock/securedlg.cc
index 6d6b6c3a0..ac3d3d113 100644
--- a/kdesktop/lock/securedlg.cc
+++ b/kdesktop/lock/securedlg.cc
@@ -96,7 +96,6 @@ SecureDlg::SecureDlg(LockProcess *parent)
mTaskButton = new TQPushButton( frame );
mTaskButton->setText(i18n("Task Manager"));
- mTaskButton->setEnabled(false); // FIXME
mCancelButton = new TQPushButton( frame );
mCancelButton->setText(i18n("Cancel"));