[kupfer] browser: Unset text mode in switch_to_source



commit 804223c5c3997fedcedda7f5f010f5d9ecbc48f1
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Mon Sep 7 00:23:47 2009 +0200

    browser: Unset text mode in switch_to_source

 kupfer/browser.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/browser.py b/kupfer/browser.py
index ec97852..0995236 100644
--- a/kupfer/browser.py
+++ b/kupfer/browser.py
@@ -1026,6 +1026,8 @@ class Interface (gobject.GObject):
 		if self.current is not self.search:
 			self.current = self.search
 			self._update_active()
+			if self.get_in_text_mode():
+				self.toggle_text_mode_quick()
 
 	def focus(self):
 		"""called when the interface is focus (after being away)"""



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