diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-04-13 02:25:20 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-04-14 02:27:29 +0200 |
commit | cad925f59c7245d16fda08396c36972551b9a9c0 (patch) | |
tree | e53a5ebf672f123d534bc7412c05b6f1d826bc18 | |
parent | 30c156db410ab3cf6661a529a7de74a56cb9b40b (diff) | |
download | tdebase-cad925f59c7245d16fda08396c36972551b9a9c0.tar.gz tdebase-cad925f59c7245d16fda08396c36972551b9a9c0.zip |
Clarify window shadow options
Remove incorrect dock shadow dependence on normal window shadows
(cherry picked from commit 2c901351d384fa0e07c2cc2f3411ca76f65728ba)
-rw-r--r-- | twin/kcmtwin/twinoptions/windows.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/twin/kcmtwin/twinoptions/windows.cpp b/twin/kcmtwin/twinoptions/windows.cpp index 83769a977..0087231ba 100644 --- a/twin/kcmtwin/twinoptions/windows.cpp +++ b/twin/kcmtwin/twinoptions/windows.cpp @@ -1333,7 +1333,7 @@ KTranslucencyConfig::KTranslucencyConfig (bool _standAlone, TDEConfig *_config, dockWindowOpacity->setRange(0,100); dockWindowOpacity->setSuffix("%"); gLay->addWidget(dockWindowOpacity,3,1); - + vLay->addSpacing(11); keepAboveAsActive = new TQCheckBox(i18n("Treat 'keep above' windows as active ones"),tGroup); @@ -1364,7 +1364,7 @@ KTranslucencyConfig::KTranslucencyConfig (bool _standAlone, TDEConfig *_config, // sGroup->setCheckable(TRUE); TQVBoxLayout *vLay2 = new TQVBoxLayout (sGroup,11,6); vLay2->addSpacing(11); // to get the proper gb top offset - useShadows = new TQCheckBox(i18n("Use shadows (standard effects should be disabled in the Styles module if this is checked)"),sGroup); + useShadows = new TQCheckBox(i18n("Use shadows on windows (standard effects should be disabled in the Styles module if this is checked)"),sGroup); vLay2->addWidget(useShadows); useShadowsOnMenuWindows = new TQCheckBox(i18n("Use shadows on menus (requires menu fade effect to be disabled in the Styles module)"),sGroup); vLay2->addWidget(useShadowsOnMenuWindows); @@ -1562,7 +1562,7 @@ KTranslucencyConfig::KTranslucencyConfig (bool _standAlone, TDEConfig *_config, void KTranslucencyConfig::processShadowLockouts() { - bool enabled = (useShadows->isChecked() || useShadowsOnMenuWindows->isChecked() || useShadowsOnToolTipWindows->isChecked()); + bool enabled = (useShadows->isChecked() || useShadowsOnMenuWindows->isChecked() || useShadowsOnToolTipWindows->isChecked() || useShadowsOnDockWindows->isChecked()); dockWindowShadowSize->setEnabled(enabled); menuWindowShadowSize->setEnabled(enabled); @@ -1572,8 +1572,6 @@ void KTranslucencyConfig::processShadowLockouts() shadowTopOffset->setEnabled(enabled); shadowLeftOffset->setEnabled(enabled); shadowColor->setEnabled(enabled); - - useShadowsOnDockWindows->setEnabled(useShadows->isChecked()); } void KTranslucencyConfig::resetKompmgr() @@ -1790,7 +1788,7 @@ void KTranslucencyConfig::save( void ) stream << "greyscale-background = " << ((greyscaleBackground->isChecked() && useOpenGL->isChecked())?"true":"false") << ";\n"; // Global settings - stream << "no-dock-shadow = " << (shadows && shadowsOnDockWindows?"false":"true") << ";\n"; + stream << "no-dock-shadow = " << (shadowsOnDockWindows?"false":"true") << ";\n"; stream << "no-dnd-shadow = true;\n"; stream << "clear-shadow = true;\n"; stream << "shadow-ignore-shaped = false;\n"; |