summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/main.cc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-04-29 16:46:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-04-29 16:46:10 +0900
commit59ef38d29164cfb93c8137c6245d402182aa9157 (patch)
tree05960f07d71c05e60ed28ee06ba16a553f402553 /kdesktop/lock/main.cc
parentdb8c0a13638bfe74653f47b9d4465a8648596d0a (diff)
downloadtdebase-59ef38d29164cfb93c8137c6245d402182aa9157.tar.gz
tdebase-59ef38d29164cfb93c8137c6245d402182aa9157.zip
Added possibility to hide the Cancel button from the Desktop Session Locked dialog.
This relates to bug 1584.
Diffstat (limited to 'kdesktop/lock/main.cc')
-rw-r--r--kdesktop/lock/main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc
index c90c2ef6b..2a8a6657d 100644
--- a/kdesktop/lock/main.cc
+++ b/kdesktop/lock/main.cc
@@ -70,7 +70,7 @@ bool trinity_desktop_lock_use_system_modal_dialogs = FALSE;
bool trinity_desktop_lock_delay_screensaver_start = FALSE;
bool trinity_desktop_lock_use_sak = FALSE;
bool trinity_desktop_lock_hide_active_windows = FALSE;
-
+bool trinity_desktop_lock_hide_cancel_button = FALSE;
bool trinity_desktop_lock_forced = FALSE;
bool signalled_forcelock;
@@ -445,6 +445,7 @@ int main( int argc, char **argv )
trinity_desktop_lock_delay_screensaver_start = false; // If trinity_desktop_lock_delay_screensaver_start is true with unmanaged windows, the lock dialog may never appear
}
trinity_desktop_lock_hide_active_windows = KDesktopSettings::hideActiveWindowsFromSaver();
+ trinity_desktop_lock_hide_cancel_button = KDesktopSettings::hideCancelButton();
delete tdmconfig;