summaryrefslogtreecommitdiff
path: root/vcl/unx/kde
diff options
context:
space:
mode:
authorChristian Dywan <christian.dywan@lanedo.com>2011-04-21 15:14:32 +0200
committerMichael Meeks <michael.meeks@novell.com>2011-04-28 10:59:58 +0100
commit129ac65d77c1c626c7bf2ce18a680fadc1cc8e3f (patch)
tree64bce63ce94b0c510da16a8ecc1d2b39a10d1f0e /vcl/unx/kde
parentcfafcbc87caa2e463278484b3d298a97dcd92615 (diff)
Introduce HideDisabledMenuItems style setting
The STYLE_OPTION_HIDEDISABLED flag is removed. The setting is enabled for KDE and OSX.
Diffstat (limited to 'vcl/unx/kde')
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx
index 252cb0b77331..5adbe5fb306a 100644
--- a/vcl/unx/kde/salnativewidgets-kde.cxx
+++ b/vcl/unx/kde/salnativewidgets-kde.cxx
@@ -1970,6 +1970,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
// Menu
aStyleSettings.SetSkipDisabledInMenus( sal_True );
+ aStyleSettings.SetHideDisabledMenuItems( sal_True );
KMenuBar *pMenuBar = qMainWindow.menuBar();
if ( pMenuBar )
{