[meld] Fix regression from commit e03492 (closes bgo#693856)



commit 532aa9b14af7e560dd324da6e5b90019bbc27c6f
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Feb 16 12:23:20 2013 +1000

    Fix regression from commit e03492 (closes bgo#693856)

 meld/dirdiff.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meld/dirdiff.py b/meld/dirdiff.py
index be3794d..1343cea 100644
--- a/meld/dirdiff.py
+++ b/meld/dirdiff.py
@@ -870,8 +870,8 @@ class DirDiff(melddoc.MeldDoc, gnomeglade.Component):
 
         if self.current_path == path:
             self.current_path = refocus_deleted_path(model, path)
-            if self.current_path and self.treeview_focussed:
-                self.treeview_focussed.set_cursor(self.current_path)
+            if self.current_path and self.focus_pane:
+                self.focus_pane.set_cursor(self.current_path)
 
     def on_treeview_cursor_changed(self, *args):
         pane = self._get_focused_pane()


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