meld r982 - trunk
- From: stevek svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r982 - trunk
- Date: Sat, 15 Mar 2008 17:55:36 +0000 (GMT)
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]