meld r1339 - trunk



Author: vincele
Date: Sat Apr 11 22:42:27 2009
New Revision: 1339
URL: http://svn.gnome.org/viewvc/meld?rev=1339&view=rev

Log:
Fix tla multiselection diffing.

This patch fixes tla diffing multiple selected files
by diffing files one at a time, this has to be
harmless to other VC plugins.


Modified:
   trunk/vcview.py

Modified: trunk/vcview.py
==============================================================================
--- trunk/vcview.py	(original)
+++ trunk/vcview.py	Sat Apr 11 22:42:27 2009
@@ -334,7 +334,8 @@
                 self.emit("create-diff", [path])
 
     def run_diff(self, path_list, empty_patch_ok=0):
-        self.scheduler.add_task(self.run_diff_iter(path_list, empty_patch_ok).next, atfront=1)
+        for path in path_list:
+            self.scheduler.add_task(self.run_diff_iter([path], empty_patch_ok).next, atfront=1)
 
     def on_button_press_event(self, text, event):
         if event.button==3:



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