summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-03-03 23:53:52 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-03-03 23:53:52 +0100
commit4c786bef98d6d8244a1c6e28abc5dd448902ecdf (patch)
treeaf67e8eeb5bd3ae257b1f6e87997b0090082d3c5 /portato/gui
parentc768119cc7ade2018f7ab0ae0da0515bee36de60 (diff)
parent6a6aba15ba92c805fe35da7dcbdaa37bacccb6fd (diff)
downloadportato-4c786bef98d6d8244a1c6e28abc5dd448902ecdf.tar.gz
portato-4c786bef98d6d8244a1c6e28abc5dd448902ecdf.tar.bz2
portato-4c786bef98d6d8244a1c6e28abc5dd448902ecdf.zip
Some more 0.12 stuff
Diffstat (limited to 'portato/gui')
-rw-r--r--portato/gui/windows/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 793d1b6..5b3bf7e 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -1646,6 +1646,9 @@ class MainWindow (Window):
"""Do a search."""
text = entry.get_text()
if text != "":
+ if not "*" in text:
+ text = ".*%s.*" % text
+
packages = system.find_packages(text, with_version = False)
if packages == []: