summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-04 22:21:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-04 22:21:07 +0100
commit4ab655b1474ebf93473b2aa5fd3791dad77f0526 (patch)
treeb4d5bd3ca0d1a15e82cad50cc12ea18a2b4c4514
parentbabdea0c88170cf98f6a91bcfb9b5a2f5d575e04 (diff)
fix some typos, bring some uniformity to the table
-rwxr-xr-xsrc/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 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 = "'%%'"