summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/windows.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-03-04 12:05:53 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-03-04 12:05:53 +0100
commitb1ea53aac10d36b2716d9c8de0dbc4edbac98fa1 (patch)
treed7a43900c30ca565c73ae9d336e8da84a349a793 /portato/gui/gtk/windows.py
parentbba06ec528dcf3bd27008d9b14b06a275cc77b35 (diff)
downloadportato-b1ea53aac10d36b2716d9c8de0dbc4edbac98fa1.tar.gz
portato-b1ea53aac10d36b2716d9c8de0dbc4edbac98fa1.tar.bz2
portato-b1ea53aac10d36b2716d9c8de0dbc4edbac98fa1.zip
Select ALL when searching.
Diffstat (limited to 'portato/gui/gtk/windows.py')
-rw-r--r--portato/gui/gtk/windows.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 05b9359..02785ed 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -1682,6 +1682,8 @@ class MainWindow (Window):
self.db.restrict = txt
self.refresh_stores()
+ self.catList.get_selection().select_path("0") # XXX make this smarter
+
return True
def cb_preferences_clicked (self, *args):