meld r1063 - trunk



Author: stevek
Date: Thu Oct  2 20:28:22 2008
New Revision: 1063
URL: http://svn.gnome.org/viewvc/meld?rev=1063&view=rev

Log:
Bug 554059 - focus most likely pane to edit

Modified:
   trunk/filediff.py

Modified: trunk/filediff.py
==============================================================================
--- trunk/filediff.py	(original)
+++ trunk/filediff.py	Thu Oct  2 20:28:22 2008
@@ -576,7 +576,7 @@
                     bnew.label = bold.label
                 self.bufferdata[i] = bnew
         self.recompute_label()
-        self.textview0.grab_focus()
+        self.textview[1 if len(files) >= 2 else 0].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]