meld r1086 - trunk



Author: stevek
Date: Tue Nov 25 19:14:07 2008
New Revision: 1086
URL: http://svn.gnome.org/viewvc/meld?rev=1086&view=rev

Log:
Patch for python2.4


Modified:
   trunk/filediff.py

Modified: trunk/filediff.py
==============================================================================
--- trunk/filediff.py	(original)
+++ trunk/filediff.py	Tue Nov 25 19:14:07 2008
@@ -571,7 +571,7 @@
                     bnew.label = bold.label
                 self.bufferdata[i] = bnew
         self.recompute_label()
-        self.textview[1 if len(files) >= 2 else 0].grab_focus()
+        self.textview[len(files) >= 2].grab_focus()
         self.scheduler.add_task( self._set_files_internal(files).next )
 
     def _set_files_internal(self, files):



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