mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-25 09:58:41 +01:00
Added title color
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
3bce3c2afc
commit
7230613ee9
2 changed files with 3 additions and 2 deletions
|
@ -21,6 +21,7 @@ class DialogBox(Configs):
|
||||||
self.more_kwargs: dict = {}
|
self.more_kwargs: dict = {}
|
||||||
|
|
||||||
self.d = Dialog(dialog="dialog")
|
self.d = Dialog(dialog="dialog")
|
||||||
|
self.d.add_persistent_args(["--colors"])
|
||||||
self.d.set_background_title(f'{self.prog_name} {Version().version} - Software Package Manager')
|
self.d.set_background_title(f'{self.prog_name} {Version().version} - Software Package Manager')
|
||||||
|
|
||||||
def checklist(self, text: str, title: str, height: int, width: int, # pylint: disable=[R0913]
|
def checklist(self, text: str, title: str, height: int, width: int, # pylint: disable=[R0913]
|
||||||
|
|
|
@ -146,9 +146,9 @@ class RemovePackages(Configs): # pylint: disable=[R0902]
|
||||||
width: int = 70
|
width: int = 70
|
||||||
list_height: int = 0
|
list_height: int = 0
|
||||||
choices: list = []
|
choices: list = []
|
||||||
title: str = " Choose dependencies you want to remove "
|
title: str = "\\Z1 Choose dependencies you want to remove \\Zn"
|
||||||
if upgrade:
|
if upgrade:
|
||||||
title: str = ' Choose packages you want to remove '
|
title: str = '\\Z1 Choose packages you want to remove \\Zn'
|
||||||
|
|
||||||
for package in packages:
|
for package in packages:
|
||||||
installed_package: str = self.utils.is_package_installed(package)
|
installed_package: str = self.utils.is_package_installed(package)
|
||||||
|
|
Loading…
Reference in a new issue