[Libreoffice-commits] .: vcl/unx
Michael Meeks
mmeeks at kemper.freedesktop.org
Thu Jan 27 03:17:42 PST 2011
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 2e714fc9116307a67cf99576f495c7cbb4e9628a
Author: Michael Meeks <michael.meeks at novell.com>
Date: Thu Jan 27 11:17:37 2011 +0000
native rendering for menubar item parts.
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index 2f9575f..3d56218 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -586,7 +586,10 @@ BOOL GtkSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nP
)
) ||
((nType == CTRL_MENUBAR) &&
- ( (nPart==PART_ENTIRE_CONTROL) ) ) ||
+ ( (nPart==PART_ENTIRE_CONTROL)
+ || (nPart==PART_MENU_ITEM)
+ )
+ ) ||
((nType == CTRL_TOOLTIP) &&
( (nPart==PART_ENTIRE_CONTROL) ) ) ||
((nType == CTRL_MENU_POPUP) &&
More information about the Libreoffice-commits
mailing list