[Libreoffice-commits] .: Branch 'distro/suse/suse-3.6' - vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Nov 15 04:45:21 PST 2012
vcl/win/source/gdi/salnativewidgets-luna.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit f47f9f5a4e5c96a8b96a327ef364329412b7adcd
Author: Jan Holesovsky <kendy at suse.cz>
Date: Thu Nov 8 10:50:51 2012 +0100
Windows: Enable nicer toolbars even for XP, not only Vista and higher.
Change-Id: I26837290d1416637032d2dfcfa45b4003c874309
diff --git a/vcl/win/source/gdi/salnativewidgets-luna.cxx b/vcl/win/source/gdi/salnativewidgets-luna.cxx
index 2f4df21..685249b 100644
--- a/vcl/win/source/gdi/salnativewidgets-luna.cxx
+++ b/vcl/win/source/gdi/salnativewidgets-luna.cxx
@@ -1493,6 +1493,9 @@ void WinSalGraphics::updateSettingsNative( AllSettings& rSettings )
StyleSettings aStyleSettings = rSettings.GetStyleSettings();
ImplSVData* pSVData = ImplGetSVData();
+ // don't draw frame around each and every toolbar
+ pSVData->maNWFData.mbDockingAreaAvoidTBFrames = true;
+
// check if vista or newer runs
// in Aero theme (and similar ?) the menu text color does not change
// for selected items; also on WinXP and earlier menus are not themed
@@ -1505,9 +1508,6 @@ void WinSalGraphics::updateSettingsNative( AllSettings& rSettings )
pSVData->maNWFData.mnMenuFormatBorderY = 2;
pSVData->maNWFData.maMenuBarHighlightTextColor = aStyleSettings.GetMenuTextColor();
GetSalData()->mbThemeMenuSupport = TRUE;
-
- // don't draw frame around each and every toolbar
- pSVData->maNWFData.mbDockingAreaAvoidTBFrames = true;
}
rSettings.SetStyleSettings( aStyleSettings );
More information about the Libreoffice-commits
mailing list