summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-16 07:01:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-16 07:01:21 +0000
commit96c46c4f95bc317b7742d1569672dc4310e17fe4 (patch)
tree8b81d7f8fda7f6df414c7aec2cbaaf27debe482e /kdesktop/lock
parentd9167be48660791a7b1a1276c1e9d9621f4adc85 (diff)
downloadtdebase-96c46c4f95bc317b7742d1569672dc4310e17fe4.tar.gz
tdebase-96c46c4f95bc317b7742d1569672dc4310e17fe4.zip
Add task manager button to secure desktop dialog
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253983 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/lock')
-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"));