diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-12 20:53:40 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-12 20:53:40 +0000 |
commit | 4fe930d54788f8f31c05cd842fb9be04d7514558 (patch) | |
tree | 2b65c3c1ad2e175daad4a0ad5ecc0c1afe832ba4 /text.py | |
parent | 2aec582d22b4afd27cc19e8d5f63615998cc3bc3 (diff) | |
download | anaconda-4fe930d54788f8f31c05cd842fb9be04d7514558.tar.gz anaconda-4fe930d54788f8f31c05cd842fb9be04d7514558.tar.xz anaconda-4fe930d54788f8f31c05cd842fb9be04d7514558.zip |
fixed
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -491,22 +491,24 @@ class MouseWindow: class BootDiskWindow: def run(self, screen, todo): - rc = newtWinTernary(_("Bootdisk"), _("Yes"), _("No"), _("Back"), - _("A custom bootdisk provides a way of booting into your " - "Linux system without depending on the normal bootloader. " - "This is useful if you don't want to install lilo on your " - "system, another operating system removes lilo, or lilo " - "doesn't work with your hardware configuration. A custom " - "bootdisk can also be used with the Red Hat rescue image, " - "making it much easier to recover from severe system " - "failures.\n\n" - "Would you like to create a bootdisk for your system?")); + rc = ButtonChoiceWindow(screen, _("Bootdisk"), + _("A custom bootdisk provides a way of booting into your " + "Linux system without depending on the normal bootloader. " + "This is useful if you don't want to install lilo on your " + "system, another operating system removes lilo, or lilo " + "doesn't work with your hardware configuration. A custom " + "bootdisk can also be used with the Red Hat rescue image, " + "making it much easier to recover from severe system " + "failures.\n\n" + "Would you like to create a bootdisk for your system?"), + buttons = [ _("Yes"), _("No"), _("Back") ]) + if rc == string.lower (_("Yes")): - self.todo.bootdisk = 1 + todo.bootdisk = 1 if rc == string.lower (_("No")): - self.todo.bootdisk = 0 + todo.bootdisk = 0 if rc == string.lower (_("Back")): return INSTALL_BACK |