[meld] Fix new bounds restriction



commit 3ca8d5f5da539590273b6ba9d950f4a570467305
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Wed Aug 25 17:37:55 2010 +1000

    Fix new bounds restriction

 meld/filediff.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 5cb96b4..9ed200f 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -937,7 +937,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
         area = event.area
         x, y = textview.window_to_buffer_coords(gtk.TEXT_WINDOW_WIDGET,
                                                 area.x, area.y)
-        bounds = (self._pixel_to_line(pane, x),
+        bounds = (self._pixel_to_line(pane, y),
                   self._pixel_to_line(pane, y + area.height + 1))
 
         width, height = textview.allocation.width, textview.allocation.height



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