Hi, When Copy Left or Copy Right action is selected from the context menu the following error occurs:
TypeError: _sync_vscroll() takes exactly 3 arguments (2 given) Patch attached. Thanks, Piotr
From 4c34af13ae35689604ed9a4a23359993029490ff Mon Sep 17 00:00:00 2001 From: Piotr Piastucki <[email protected]> Date: Mon, 15 Mar 2010 13:44:12 +0100 Subject: [PATCH] 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..49d1467 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 -- 1.6.3.3
_______________________________________________ meld-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/meld-list
