Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-11-13 15:00:10 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-11-13 15:00:10 (GMT)
commit4f9f09cc9efccdb971e69823aef1d38e53cd9e43 (patch)
tree897b3dbacb8cff27ca7486e339830306e05bedbb
parentb7fcc9ff35135f45d284d148fc0a44b8b3439c3b (diff)
#4414 Don't unfocus the search entry when the autosearch is fired.
-rw-r--r--NEWS2
-rwxr-xr-xjournalactivity.py10
2 files changed, 8 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index d0d7205..662b255 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+* #4414 Don't unfocus the search entry when the autosearch is fired. (tomeu)
+
70
* #4638 Update dates when the journal is displayed. (tomeu)
diff --git a/journalactivity.py b/journalactivity.py
index 5aee640..99ee437 100755
--- a/journalactivity.py
+++ b/journalactivity.py
@@ -147,11 +147,13 @@ class JournalActivity(activity.Activity):
self._show_main_view()
def _show_main_view(self):
- self.set_toolbox(self._main_toolbox)
- self._main_toolbox.show()
+ if self.toolbox != self._main_toolbox:
+ self.set_toolbox(self._main_toolbox)
+ self._main_toolbox.show()
- self.set_canvas(self._main_view)
- self._main_view.show()
+ if self.canvas != self._main_view:
+ self.set_canvas(self._main_view)
+ self._main_view.show()
def _show_secondary_view(self, jobject):
try: