diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-22 16:50:40 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-22 16:50:40 +0000 |
commit | 6e98119f774d8edfee51c0167e775b9735611a4a (patch) | |
tree | 4ee5df050f56754b1fc39d791b01b75b65e23d03 | |
parent | 23885dfe0b4e6fed253301496771fe5a59160b01 (diff) | |
download | anaconda-6e98119f774d8edfee51c0167e775b9735611a4a.tar.gz anaconda-6e98119f774d8edfee51c0167e775b9735611a4a.tar.xz anaconda-6e98119f774d8edfee51c0167e775b9735611a4a.zip |
added skip button to lilo screen
-rw-r--r-- | text.py | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -655,17 +655,21 @@ class LiloWindow: # XXX fixme restore state (rc, sel) = ListboxChoiceWindow (screen, _("LILO Configuration"), - _("Where do you want to install the bootloader?"), - locations, - buttons = [ _("OK"), _("Back") ]) - - if sel == 0: - todo.setLiloLocation(boothd) - else: - todo.setLiloLocation(bootpart) + _("Where do you want to install the bootloader?"), + locations, + buttons = [ _("OK"), _("Skip"), _("Back") ]) if rc == string.lower (_("Back")): return INSTALL_BACK + + if rc == string.lower (_("Skip")): + todo.setLiloLocation(None) + else: + if sel == 0: + todo.setLiloLocation(boothd) + else: + todo.setLiloLocation(bootpart) + return INSTALL_OK class BeginInstallWindow: |