summaryrefslogtreecommitdiff
path: root/src/frontend/gui/sisyphus-gui.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-23 18:46:07 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-23 18:46:07 +0000
commit5e502c7bce94bed78413247fa0bd0852bde9f2ea (patch)
tree487c4280ae7c69286507317ed55054fd98f99b24 /src/frontend/gui/sisyphus-gui.py
parent53da11888eb6126cb01a51d374f24be78142847f (diff)
modernise the gui interface
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 = "'%%'"