[kupfer] browser: Reset when switching to source in _pane_reset
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] browser: Reset when switching to source in _pane_reset
- Date: Wed, 9 Sep 2009 19:44:03 +0000 (UTC)
commit 6c242f7f9edbb1b8f22ae6d83077dbef5c69487d
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Wed Sep 9 21:39:28 2009 +0200
browser: Reset when switching to source in _pane_reset
When we are assigned a result, we want to do reset to close any open
result list.
kupfer/browser.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/browser.py b/kupfer/browser.py
index 31581b0..fa18521 100644
--- a/kupfer/browser.py
+++ b/kupfer/browser.py
@@ -1046,6 +1046,7 @@ class Interface (gobject.GObject):
else:
wid.set_match_plain(item)
if wid is self.search:
+ self.reset()
self.switch_to_source()
def _new_source(self, sender, pane, source):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]