diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-27 01:51:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-27 01:51:06 +0100 |
commit | c9fada27e2381b7a3d53d93014a1a9921c0f56c4 (patch) | |
tree | 73fd6e7e4ba23343ca93de3b683bc1a28eb23b93 /src/frontend/gui | |
parent | cc6bdb0e4844ba2eb02688f85368c5c949cf0e62 (diff) |
sisyphus-gui : add alien filter
Diffstat (limited to 'src/frontend/gui')
-rw-r--r-- | src/frontend/gui/sisyphus-gui.py | 24 |
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 = "'%%'" |