From 4b12a38f6e566f44f5549b4a85e3ae9e715e0d08 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 15 Aug 2011 01:55:39 +0000 Subject: Hide nonfunctional kompmgr menu shadow settings git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1247209 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin/kcmkwin/kwinoptions/windows.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'kwin/kcmkwin/kwinoptions/windows.cpp') 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); -- cgit v1.2.1