[kupfer] browser: Show result list while searching in browse mode
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] browser: Show result list while searching in browse mode
- Date: Thu, 10 Sep 2009 04:14:04 +0000 (UTC)
commit 754775aa54769b58ebfc4e21c7ad81e8c8057f83
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Mon Sep 7 00:30:29 2009 +0200
browser: Show result list while searching in browse mode
kupfer/browser.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/browser.py b/kupfer/browser.py
index 0995236..edf0d6a 100644
--- a/kupfer/browser.py
+++ b/kupfer/browser.py
@@ -601,6 +601,8 @@ class Search (gtk.Bin):
self._set_match(matchrankable)
self.model.set_base(iter(matches))
self._browsing_match = False
+ if not self.model and self.get_table_visible():
+ self.go_down()
def reset(self):
self.model.clear()
@@ -1181,7 +1183,6 @@ class Interface (gobject.GObject):
self._back_key_press()
return
- self.current.hide_table()
pane = self._pane_for_widget(self.current)
self.data_controller.search(pane, key=text, context=text,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]