diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-19 01:14:39 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-19 01:16:10 +0100 |
commit | 907d8b7d7b6ef21125b5c8f17f96273c3cf4782a (patch) | |
tree | 3fc591346b7cf5b3db7a46c755b7501e6f57e15d /kcontrol/smserver/kcmsmserver.cpp | |
parent | 0b4c2f588dd2556daa6b8c5654e73f89a7537041 (diff) | |
download | tdebase-907d8b7d7b6ef21125b5c8f17f96273c3cf4782a.tar.gz tdebase-907d8b7d7b6ef21125b5c8f17f96273c3cf4782a.zip |
Add secondary logout fadeaway control
This resolves Bug 1999
This relates to Bug 258
Diffstat (limited to 'kcontrol/smserver/kcmsmserver.cpp')
-rw-r--r-- | kcontrol/smserver/kcmsmserver.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kcontrol/smserver/kcmsmserver.cpp b/kcontrol/smserver/kcmsmserver.cpp index b81e41c77..99f1b729a 100644 --- a/kcontrol/smserver/kcmsmserver.cpp +++ b/kcontrol/smserver/kcmsmserver.cpp @@ -94,7 +94,9 @@ void SMServerConfig::load(bool useDefaults ) c->setGroup("Logout"); dialog->showLogoutStatusDialog->setChecked(c->readBoolEntry("showLogoutStatusDlg", true)); + dialog->showFadeAway->setChecked(c->readBoolEntry("doFadeaway", true)); dialog->showFancyFadeAway->setChecked(c->readBoolEntry("doFancyLogout", true)); + dialog->showFancyFadeAway->setEnabled(dialog->confirmLogoutCheck->isChecked() && dialog->showFadeAway->isChecked()), delete c; @@ -124,6 +126,7 @@ void SMServerConfig::save() c->writeEntry("excludeApps", dialog->excludeLineedit->text()); c->setGroup("Logout"); c->writeEntry( "showLogoutStatusDlg", dialog->showLogoutStatusDialog->isChecked()); + c->writeEntry( "doFadeaway", dialog->showFadeAway->isChecked()); c->writeEntry( "doFancyLogout", dialog->showFancyFadeAway->isChecked()); c->sync(); delete c; |