meld r1040 - trunk
- From: stevek svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1040 - trunk
- Date: Thu, 4 Sep 2008 08:39:49 +0000 (UTC)
Author: stevek
Date: Thu Sep 4 08:39:49 2008
New Revision: 1040
URL: http://svn.gnome.org/viewvc/meld?rev=1040&view=rev
Log:
Fix autojump to first diff. Bug 548237. Martin Renold
Modified:
trunk/filediff.py
Modified: trunk/filediff.py
==============================================================================
--- trunk/filediff.py (original)
+++ trunk/filediff.py Thu Sep 4 08:39:49 2008
@@ -567,7 +567,6 @@
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
@@ -660,6 +659,7 @@
step = self.linediffer.set_sequences_iter(*lines)
while step.next() == None:
yield 1
+ self.scheduler.add_task( lambda: self.next_diff(gdk.SCROLL_DOWN), True )
self.queue_draw()
lenseq = [len(d) for d in self.linediffer.diffs]
self.scheduler.add_task( self._update_highlighting( (0,lenseq[0]), (0,lenseq[1]) ).next )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]