summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-04-23 16:43:51 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-04-23 16:43:51 +0000
commit3a091956fe8ae2e7fe43d03cd3a0590b34ed6db1 (patch)
tree7acafbb2235c51af7d128ac2cf700fe85d7436b4
parente22ff9d2c8e6b670b95f7039c24f9a8f300a2ac8 (diff)
downloadlive-3a091956fe8ae2e7fe43d03cd3a0590b34ed6db1.tar.gz
Use default width = 60
-rw-r--r--DysonInstaller/snack/__init__.py4
-rwxr-xr-xinstall6
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
diff --git a/install b/install
index d6a9b68..379fd2e 100755
--- a/install
+++ b/install
@@ -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)