[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Wed Feb 24 15:26:56 UTC 2016


 vcl/unx/gtk/gtkdata.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b50071c817657866f8b22873be26d34970005a2d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 24 15:24:53 2016 +0000

    set gtk layout direction to match ours
    
    Change-Id: I27610f28f42368355bef1b3461fc3ccea1b07218

diff --git a/vcl/unx/gtk/gtkdata.cxx b/vcl/unx/gtk/gtkdata.cxx
index fa65259..d3800c7 100644
--- a/vcl/unx/gtk/gtkdata.cxx
+++ b/vcl/unx/gtk/gtkdata.cxx
@@ -110,6 +110,7 @@ GtkSalDisplay::GtkSalDisplay( GdkDisplay* pDisplay ) :
 #endif
 #endif
 
+    gtk_widget_set_default_direction(AllSettings::GetLayoutRTL() ? GTK_TEXT_DIR_RTL : GTK_TEXT_DIR_LTR);
 }
 
 GtkSalDisplay::~GtkSalDisplay()


More information about the Libreoffice-commits mailing list