diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2013-06-24 22:55:55 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2013-06-28 22:35:47 +0400 |
commit | 48e1d9c7afe5c2a39d9a08d7a38f7c8ff39d8c84 (patch) | |
tree | d05391f5eb809148c07ce6c902bd7549dda2e9af /vcl/unx | |
parent | e0f49ff1fdb3813650bcce4eac1c2f7ec18942d0 (diff) |
fdo#66335: gtk: Revert hacks for RTL scrollbars
returning false here in getNativeControlRegion results in a fallback to
square buttons in vcl scrollbar code. But there is no problem in gtk+ backend
in this case, let's fix the problem differently.
This reverts commits 898a3e84807bccbb876e3f5583728f6d24e05e9a and
e8e82bd2109b82ddd535cdac30303249c6b62942.
Change-Id: I66fcdd1f27d471321852445e5881cee03baef7b1
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index 176486e8ead2..c88bc6fe5056 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -1048,13 +1048,7 @@ sal_Bool GtkSalGraphics::getNativeControlRegion( ControlType nType, rNativeContentRegion.Right() = rNativeContentRegion.Left() + 1; if (!rNativeContentRegion.GetHeight()) rNativeContentRegion.Bottom() = rNativeContentRegion.Top() + 1; - //fdo#63254 horizontal scrool bar isn't displayed in RTL tab - // with LTR UI in calc - returnVal =Application::GetSettings().GetLayoutRTL(); - - //See fdo#44582, Horizontal scrollbar in navigator window is broken - if ((nPart==PART_BUTTON_LEFT || nPart==PART_BUTTON_RIGHT) && Application::GetSettings().GetLayoutRTL()) - returnVal = false; + returnVal = sal_True; } if( (nType == CTRL_MENUBAR) && (nPart == PART_ENTIRE_CONTROL) ) { |