[meld] linkmap: Remove central guide line



commit b16a13df51672146a47b7e8763ab6998ecdfae7b
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Thu Oct 10 07:48:12 2013 +1000

    linkmap: Remove central guide line

 meld/linkmap.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/meld/linkmap.py b/meld/linkmap.py
index 1f705e1..0e46de2 100644
--- a/meld/linkmap.py
+++ b/meld/linkmap.py
@@ -121,12 +121,6 @@ class LinkMap(Gtk.DrawingArea):
             context.set_source_rgba(*self.line_colors[c[0]])
             context.stroke()
 
-        # allow for scrollbar at end of textview
-        mid = int(0.5 * self.views[0].get_allocation().height) + 0.5
-        context.set_source_rgba(0., 0., 0., 0.5)
-        context.move_to(.35 * wtotal, mid)
-        context.line_to(.65 * wtotal, mid)
-        context.stroke()
 
     def do_scroll_event(self, event):
         self.filediff.next_diff(event.direction)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]