From 4ab655b1474ebf93473b2aa5fd3791dad77f0526 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 4 Oct 2017 22:21:07 +0100 Subject: fix some typos, bring some uniformity to the table --- src/frontend/gui/sisyphus-gui.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/frontend/gui') 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 = "'%%'" -- cgit v1.2.3