Update dialog title

This commit is contained in:
Dimitris Zlatanidis 2015-09-24 22:12:03 +03:00
parent 510d19f55d
commit a0fec23d7a
4 changed files with 4 additions and 4 deletions

View file

@ -63,7 +63,7 @@ Keys: SPACE select or deselect the highlighted repositories,
Disabled <-------- REPOSITORIES -------> Enabled"""
self.read_enabled()
self.read_disabled()
text, title, backtitle, status = keys, "Repositories", "", False
text, title, backtitle, status = keys, " Repositories ", "", False
self.selected = DialogUtil(self.disabled, text, title, backtitle,
status).buildlist(self.enabled)
if self.selected is not None:

View file

@ -315,7 +315,7 @@ class SBoNetwork(object):
data.append(name)
if data:
text = "Press 'spacebar' to choose SlackBuild for view"
title = "SlackBuilds.org"
title = " SlackBuilds.org "
backtitle = "{0} {1}".format(_meta_.__all__, _meta_.__version__)
status = False
pkg = DialogUtil(data, text, title, backtitle, status).checklist()

View file

@ -163,7 +163,7 @@ class Patches(object):
for upg in self.upgrade_all:
data.append(upg[:-4])
text = "Press 'spacebar' to unchoose packages from upgrade"
title = "Upgrade"
title = " Upgrade "
backtitle = "{0} {1}".format(self.meta.__all__,
self.meta.__version__)
status = True

View file

@ -42,7 +42,7 @@ def choose_upg(packages):
installed = find_package(binary + _meta_.sp, _meta_.pkg_path)[0]
data.append(installed)
text = "Press 'spacebar' to unchoose packages from upgrade"
title = "Upgrade"
title = " Upgrade "
backtitle = "{0} {1}".format(_meta_.__all__, _meta_.__version__)
status = True
pkgs = DialogUtil(data, text, title, backtitle,