summaryrefslogtreecommitdiff
path: root/src/frontend/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/gui')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index 65767d0..a33e3c8 100755
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -23,7 +23,8 @@ class Sisyphus(QtWidgets.QMainWindow):
self.selectfield.currentIndexChanged.connect(self.setSearchField)
self.SEARCHFILTERS = OrderedDict ([
- ('*', ''),
+ ('All', ''),
+ ('Available', 'AND iv IS NULL'),
('Installed', 'AND iv IS NOT NULL'),
('Upgradable', 'AND iv < av'),
('Downgradable', 'AND iv > av')
@@ -34,7 +35,7 @@ class Sisyphus(QtWidgets.QMainWindow):
Sisyphus.SEARCHTERM = "'%%'" # defaults to all
Sisyphus.SEARCHFIELD = self.SEARCHFIELDS['Name'] # defaults to package name
- Sisyphus.SEARCHFILTER = self.SEARCHFILTERS['*'] # defaults to any
+ Sisyphus.SEARCHFILTER = self.SEARCHFILTERS['All'] # defaults to any
self.loadDatabase(Sisyphus.SEARCHFIELD,Sisyphus.SEARCHTERM,Sisyphus.SEARCHFILTER)
self.input.textEdited.connect(self.filterDatabase)