3006956
From 205dd9979f77c709cf36b92da1836ce5374879ab Mon Sep 17 00:00:00 2001
3006956
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
3006956
Date: Wed, 24 Feb 2016 15:24:53 +0000
3006956
Subject: [PATCH 7/8] set gtk layout direction to match ours
3006956
3006956
Change-Id: I27610f28f42368355bef1b3461fc3ccea1b07218
3006956
(cherry picked from commit b50071c817657866f8b22873be26d34970005a2d)
3006956
---
3006956
 vcl/unx/gtk/gtkdata.cxx | 1 +
3006956
 1 file changed, 1 insertion(+)
3006956
3006956
diff --git a/vcl/unx/gtk/gtkdata.cxx b/vcl/unx/gtk/gtkdata.cxx
3006956
index 9ea6dc9..f15cce2 100644
3006956
--- a/vcl/unx/gtk/gtkdata.cxx
3006956
+++ b/vcl/unx/gtk/gtkdata.cxx
3006956
@@ -110,6 +110,7 @@ GtkSalDisplay::GtkSalDisplay( GdkDisplay* pDisplay ) :
3006956
 #endif
3006956
 #endif
3006956
 
3006956
+    gtk_widget_set_default_direction(AllSettings::GetLayoutRTL() ? GTK_TEXT_DIR_RTL : GTK_TEXT_DIR_LTR);
3006956
 }
3006956
 
3006956
 GtkSalDisplay::~GtkSalDisplay()
3006956
-- 
3006956
2.7.1
3006956