[kupfer] ui: Fix text-mode coloring when autotoggling



commit fab746a2a22175835671bf2eacecab77a9e86610
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Mon Mar 14 01:38:48 2011 +0100

    ui: Fix text-mode coloring when autotoggling

 kupfer/ui/browser.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/ui/browser.py b/kupfer/ui/browser.py
index 4b23811..5a74973 100644
--- a/kupfer/ui/browser.py
+++ b/kupfer/ui/browser.py
@@ -1309,9 +1309,9 @@ class Interface (gobject.GObject):
 			# Use toggle_text_mode to reset
 			self.toggle_text_mode(False)
 			pane = self._pane_for_widget(new_focus)
+			self._update_active()
 			if self.data_controller.get_should_enter_text_mode(pane):
 				self.toggle_text_mode_quick()
-			self._update_active()
 
 	def _browse_up(self):
 		pane = self._pane_for_widget(self.current)



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