summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-22 16:50:40 +0000
committerMatt Wilson <msw@redhat.com>1999-08-22 16:50:40 +0000
commit6e98119f774d8edfee51c0167e775b9735611a4a (patch)
tree4ee5df050f56754b1fc39d791b01b75b65e23d03 /text.py
parent23885dfe0b4e6fed253301496771fe5a59160b01 (diff)
downloadanaconda-6e98119f774d8edfee51c0167e775b9735611a4a.tar.gz
anaconda-6e98119f774d8edfee51c0167e775b9735611a4a.tar.xz
anaconda-6e98119f774d8edfee51c0167e775b9735611a4a.zip
added skip button to lilo screen
Diffstat (limited to 'text.py')
-rw-r--r--text.py20
1 files changed, 12 insertions, 8 deletions
diff --git a/text.py b/text.py
index fb9d6d839..bc930f47d 100644
--- a/text.py
+++ b/text.py
@@ -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: