meld r982 - trunk



Author: stevek
Date: Sat Mar 15 17:55:35 2008
New Revision: 982
URL: http://svn.gnome.org/viewvc/meld?rev=982&view=rev

Log:
Jump to first diff on startup. Bug 519809

Modified:
   trunk/filediff.py

Modified: trunk/filediff.py
==============================================================================
--- trunk/filediff.py	(original)
+++ trunk/filediff.py	Sat Mar 15 17:55:35 2008
@@ -569,6 +569,7 @@
                 self.bufferdata[i] = bnew
         self.recompute_label()
         self.scheduler.add_task( self._set_files_internal(files).next )
+        self.scheduler.add_task( lambda: self.next_diff(gdk.SCROLL_DOWN), True )
 
     def _set_files_internal(self, files):
         yield _("[%s] Set num panes") % self.label_text



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