From 6e98119f774d8edfee51c0167e775b9735611a4a Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Sun, 22 Aug 1999 16:50:40 +0000 Subject: added skip button to lilo screen --- text.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'text.py') 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: -- cgit