[meld] Fix recent focus pane mishap



commit eaa704bf70e0c684f3f9cfe71c59621435cd7e77
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Dec 22 05:38:51 2012 +1000

    Fix recent focus pane mishap
    
    Unsetting the focus pane sounds like the right thing to do, but it
    breaks our Find bar. For find-like operations, performing the action on
    the most recently focused pane seems like the right thing to do.

 meld/filediff.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index e56c521..f927f97 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -658,7 +658,6 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
         self._set_merge_action_sensitivity()
 
     def on_textview_focus_out_event(self, view, event):
-        self.focus_pane = None
         self._set_merge_action_sensitivity()
 
     def _after_text_modified(self, buffer, startline, sizechange):



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