summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-15 01:55:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-15 01:55:39 +0000
commit4b12a38f6e566f44f5549b4a85e3ae9e715e0d08 (patch)
treecc8298e1b3f0b4594ce28eb7524d6538974d3b8b
parent4a8fa10ad1ff2ac4fc649e3c22ac7b3cc100fd96 (diff)
downloadtdebase-4b12a38f6e566f44f5549b4a85e3ae9e715e0d08.tar.gz
tdebase-4b12a38f6e566f44f5549b4a85e3ae9e715e0d08.zip
Hide nonfunctional kompmgr menu shadow settings
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1247209 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kwin/kcmkwin/kwinoptions/windows.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/kwin/kcmkwin/kwinoptions/windows.cpp b/kwin/kcmkwin/kwinoptions/windows.cpp
index faa681b4e..2c3731ae1 100644
--- a/kwin/kcmkwin/kwinoptions/windows.cpp
+++ b/kwin/kcmkwin/kwinoptions/windows.cpp
@@ -1345,9 +1345,9 @@ KTranslucencyConfig::KTranslucencyConfig (bool _standAlone, KConfig *_config, TQ
// 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 (requires standard effects to be disabled in the Styles module)"),sGroup);
+ useShadows = new TQCheckBox(i18n("Use shadows (standard effects should be disabled in the Styles module if this is checked)"),sGroup);
vLay2->addWidget(useShadows);
-
+
vLay2->addSpacing(11);
TQGridLayout *gLay2 = new TQGridLayout(vLay2,6,2);
@@ -1381,6 +1381,10 @@ KTranslucencyConfig::KTranslucencyConfig (bool _standAlone, KConfig *_config, TQ
// menuWindowShadowSize->setSuffix("px");
gLay2->addWidget(menuWindowShadowSize,3,1);
+ // Menu shadow settings don't work
+ label3a->hide();
+ menuWindowShadowSize->hide();
+
TQLabel *label4 = new TQLabel(i18n("Vertical offset:"),sGroup);
gLay2->addWidget(label4,4,0);
shadowTopOffset = new KIntNumInput(80,sGroup);