summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-27 01:51:06 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-27 01:51:06 +0100
commitc9fada27e2381b7a3d53d93014a1a9921c0f56c4 (patch)
tree73fd6e7e4ba23343ca93de3b683bc1a28eb23b93
parentcc6bdb0e4844ba2eb02688f85368c5c949cf0e62 (diff)
sisyphus-gui : add alien filter
-rw-r--r--src/frontend/gui/sisyphus-gui.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index 5b798c3..c3d5ea5 100644
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -15,26 +15,26 @@ class Sisyphus(QtWidgets.QMainWindow):
self.show()
self.filterApplications = OrderedDict([
- ('name', 'pn'),
- ('category', 'cat'),
- ('description', 'descr')
+ ('Package Name', 'pn'),
+ ('Package Category', 'cat'),
+ ('Package Description', 'descr')
])
self.applicationFilter.addItems(self.filterApplications.keys())
- self.applicationFilter.setCurrentText('name')
+ self.applicationFilter.setCurrentText('Package Name')
self.applicationFilter.currentIndexChanged.connect(self.setApplicationFilter)
- Sisyphus.applicationView = self.filterApplications['name']
+ Sisyphus.applicationView = self.filterApplications['Package Name']
self.filterDatabases = OrderedDict([
- ('all packages', 'all'),
- ('installed packages', 'installed'),
- ('alien packages', 'alien'),
- ('available packages', 'available'),
- ('upgradable packages', 'upgradable')
+ ('All Packages', 'all'),
+ ('Installed Packages', 'installed'),
+ ('Alien Packages', 'alien'),
+ ('Available Packages', 'available'),
+ ('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 = "'%%'"