[meld] Reorient Linkmap drawing when in RTL mode (closes bgo#644018)
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Reorient Linkmap drawing when in RTL mode (closes bgo#644018)
- Date: Mon, 4 Apr 2011 21:49:09 +0000 (UTC)
commit f490922dd61da95895ddd07fd6b2ade63e3c910a
Author: Kai Willadsen <kai willadsen gmail com>
Date: Wed Mar 16 07:39:27 2011 +1000
Reorient Linkmap drawing when in RTL mode (closes bgo#644018)
meld/linkmap.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meld/linkmap.py b/meld/linkmap.py
index 3eda2a6..d0f5c78 100644
--- a/meld/linkmap.py
+++ b/meld/linkmap.py
@@ -42,6 +42,8 @@ class LinkMap(gtk.DrawingArea):
def associate(self, filediff, left_view, right_view):
self.filediff = filediff
self.views = [left_view, right_view]
+ if self.get_direction() == gtk.TEXT_DIR_RTL:
+ self.views.reverse()
self.view_indices = [filediff.textview.index(t) for t in self.views]
self.fill_colors = filediff.fill_colors
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]