summaryrefslogtreecommitdiff
path: root/src/frontend/gui/sisyphus-gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/gui/sisyphus-gui.py')
-rw-r--r--src/frontend/gui/sisyphus-gui.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index 4e9a8b1..fa2b057 100644
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -21,25 +21,25 @@ class Sisyphus(QtWidgets.QMainWindow):
self.show()
self.filterApplications = OrderedDict([
- ('Search by Name', 'pn'),
- ('Search by Category', 'cat'),
- ('Search by Description', 'descr')
+ ('name', 'pn'),
+ ('category', 'cat'),
+ ('description', 'descr')
])
self.applicationFilter.addItems(self.filterApplications.keys())
- self.applicationFilter.setCurrentText('Search by Name')
+ self.applicationFilter.setCurrentText('name')
self.applicationFilter.currentIndexChanged.connect(self.setApplicationFilter)
- Sisyphus.applicationView = self.filterApplications['Search by Name']
+ Sisyphus.applicationView = self.filterApplications['name']
self.filterDatabases = OrderedDict([
- ('All Packages', 'all'),
- ('Installed Packages', 'installed'),
- ('Available Packages', 'installable'),
- ('Upgradable Packages', 'upgradable')
+ ('all packages', 'all'),
+ ('installed packages', 'installed'),
+ ('available packages', 'installable'),
+ ('upgradable packages', 'upgradable')
])
self.databaseFilter.addItems(self.filterDatabases.keys())
- self.databaseFilter.setCurrentText('All Packages')
+ self.databaseFilter.setCurrentText('all packages')
self.databaseFilter.currentIndexChanged.connect(self.setDatabaseFilter)
- Sisyphus.databaseView = self.filterDatabases['All Packages']
+ Sisyphus.databaseView = self.filterDatabases['all packages']
Sisyphus.searchTerm = "'%%'"