diff options
-rw-r--r-- | DysonInstaller/snack/__init__.py | 4 | ||||
-rwxr-xr-x | install | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/DysonInstaller/snack/__init__.py b/DysonInstaller/snack/__init__.py index 31794ee..599ce3f 100644 --- a/DysonInstaller/snack/__init__.py +++ b/DysonInstaller/snack/__init__.py @@ -28,7 +28,7 @@ class ProgressMessage(object): self._form.draw() self._screen.refresh() - def __init__(self, screen, width=40, title=' ', text=' '): + def __init__(self, screen, width=60, title=' ', text=' '): self._screen = screen self._textbox = TextboxReflowed(width, text) @@ -90,7 +90,7 @@ class ProgressBar(object): self._screen.refresh() - def __init__(self, screen, width=40, title='', text=' ', top=100, allow_back=False): + def __init__(self, screen, width=60, title='', text=' ', top=100, allow_back=False): self._allow_back = allow_back self._screen = screen self._top = top @@ -794,7 +794,7 @@ def configure_packages(): screen.resume() def create_bootarchive(): - progress = ProgressMessage(screen, title='Please wait', width=50) + progress = ProgressMessage(screen, title='Please wait') progress.text = 'Creating boot archive, please wait ...' in_bootenv(['/sbin/bootadm', 'update-archive']) @@ -894,7 +894,7 @@ def configure_grub(): if install == 'skip': return - progress = ProgressMessage(screen, title='Configuring GRUB', width=50) + progress = ProgressMessage(screen, title='Configuring GRUB') installgrub_cmd = ['/usr/sbin/installgrub'] if install == 'mbr': progress.text = 'Installing GRUB to the master boot record ...' @@ -955,7 +955,7 @@ def configure_grub(): def cleanup(destroy_bootenv=False): global bootenv global rootdir - progress = ProgressMessage(screen, title='Cleaning up', width=50) + progress = ProgressMessage(screen, title='Cleaning up') if bootenv: umount_in_bootenv() call(['umount', rootdir], stdout=PIPE, stderr=PIPE) |