[meld] Initialise linkmap focus handling in __init__



commit 662eafa0b848ac27e5cf1c846d579c79175e318a
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Tue Aug 31 09:09:52 2010 +1000

    Initialise linkmap focus handling in __init__

 meld/filediff.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 64b335f..e9252f4 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -296,6 +296,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
         gnomeglade.connect_signal_handlers(self)
         self.findbar = findbar.FindBar()
         self.filediff.pack_end(self.findbar.widget, False)
+        self.focus_before_click = None
         self.cursor = CursorDetails()
         self.connect("current-diff-changed", self.on_current_diff_changed)
         for t in self.textview:



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