From d30ade0488ae100ec47340c51db163c44a3c1578 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 22 Jun 2013 21:01:04 +0000 Subject: [PATCH] 6814: Fix gramplet positioning when using RTL locale svn: r22557 --- gramps/gui/widgets/grampletpane.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gramps/gui/widgets/grampletpane.py b/gramps/gui/widgets/grampletpane.py index 6e2f1567a..d80c10797 100644 --- a/gramps/gui/widgets/grampletpane.py +++ b/gramps/gui/widgets/grampletpane.py @@ -1272,6 +1272,9 @@ class GrampletPane(Gtk.ScrolledWindow): mainframe = mframe.get_parent() # actually a vbox rect = source.get_allocation() sx, sy = rect.width, rect.height + # Convert to LTR co-ordinates when using RTL locale + if source.get_direction() == Gtk.TextDirection.RTL: + x = sx - x # first, find column: col = 0 for i in range(len(self.columns)):