[Libreoffice-commits] .: Branch 'libreoffice-4-0' - vcl/unx
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 30 00:31:25 PST 2013
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 0bf978f138728de6d20fc76f671c6b353565eb0b
Author: Abdulaziz A Alayed <aalayed at kacst.edu.sa>
Date: Tue Jan 22 11:43:30 2013 +0300
fdo#44582 fixing horizontal scroll bar in sub windows
Change-Id: Ifea57dec77c5b23771684a1e46267f8431478075
Reviewed-on: https://gerrit.libreoffice.org/1806
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/1908
Tested-by: Lior Kaplan <kaplanlior at gmail.com>
Reviewed-by: Miklos Vajna <vmiklos at suse.cz>
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index 736834a..e15fbfa 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -1041,7 +1041,12 @@ sal_Bool GtkSalGraphics::getNativeControlRegion( ControlType nType,
rNativeContentRegion.Right() = rNativeContentRegion.Left() + 1;
if (!rNativeContentRegion.GetHeight())
rNativeContentRegion.Bottom() = rNativeContentRegion.Top() + 1;
- returnVal = sal_True;
+
+ returnVal = true;
+
+ //See fdo#44582, Horizontal scrollbar in navigator window is broken
+ if ((nPart==PART_BUTTON_LEFT || nPart==PART_BUTTON_RIGHT) && Application::GetSettings().GetLayoutRTL())
+ returnVal = false;
}
if( (nType == CTRL_MENUBAR) && (nPart == PART_ENTIRE_CONTROL) )
{
More information about the Libreoffice-commits
mailing list