diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-04 22:21:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-04 22:21:07 +0100 |
commit | 4ab655b1474ebf93473b2aa5fd3791dad77f0526 (patch) | |
tree | b4d5bd3ca0d1a15e82cad50cc12ea18a2b4c4514 | |
parent | babdea0c88170cf98f6a91bcfb9b5a2f5d575e04 (diff) |
fix some typos, bring some uniformity to the table
-rwxr-xr-x | 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 d8ee100..5719ff9 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -12,25 +12,25 @@ class Sisyphus(QtWidgets.QMainWindow): self.show() self.SEARCHFIELDS = OrderedDict ([ - ('Search by name', 'pn'), - ('Search by category', 'cat'), - ('Search by description', 'descr') + ('Search by Name', 'pn'), + ('Search by Category', 'cat'), + ('Search by Description', 'descr') ]) self.selectfield.addItems(self.SEARCHFIELDS.keys()) - self.selectfield.setCurrentText('Search by name') - Sisyphus.SEARCHFIELD = self.SEARCHFIELDS['Search by name'] + self.selectfield.setCurrentText('Search by Name') + Sisyphus.SEARCHFIELD = self.SEARCHFIELDS['Search by Name'] self.selectfield.currentIndexChanged.connect(self.setSearchField) self.SEARCHFILTERS = OrderedDict ([ - ('All packages', 'all'), - ('Installed packages', 'instaled'), - ('Installable packages', 'installable'), - ('Safe removable packages', 'removable'), - ('Upgradable/Rebuilt packages', 'upgradable') + ('All Packages', 'all'), + ('Installed Packages', 'instaled'), + ('Installable Packages', 'installable'), + ('Safely Removable Packages', 'removable'), + ('Upgradable/Rebuilt Packages', 'upgradable') ]) - Sisyphus.SEARCHFILTER = self.SEARCHFILTERS['All packages'] + Sisyphus.SEARCHFILTER = self.SEARCHFILTERS['All Packages'] self.selectfilter.addItems(self.SEARCHFILTERS.keys()) - self.selectfilter.setCurrentText('All packages') + self.selectfilter.setCurrentText('All Packages') self.selectfilter.currentIndexChanged.connect(self.setSearchFilter) Sisyphus.SEARCHTERM = "'%%'" |