[meld] Fix missing argument in _sync_vscroll() call



commit 12b340ee00948a5619f78df52e1583384accff50
Author: Piotr Piastucki <leech miranda gmail com>
Date:   Mon Mar 15 13:44:12 2010 +0100

    Fix missing argument in _sync_vscroll() call

 meld/filediff.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index f630721..bcf6c7e 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1051,7 +1051,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
         self.on_textbuffer__begin_user_action()
         self.textbuffer[dst_pane].set_text(text)
         self.on_textbuffer__end_user_action()
-        self.scheduler.add_task( lambda : self._sync_vscroll( self.scrolledwindow[src_pane].get_vadjustment() ) and None )
+        self.scheduler.add_task(lambda: self._sync_vscroll(self.scrolledwindow[src_pane].get_vadjustment(), src_pane) and None)
 
         #
         # refresh and reload



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