summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorbfox <bfox>2001-07-11 01:35:55 +0000
committerbfox <bfox>2001-07-11 01:35:55 +0000
commit2003c2d4befe4b6cd1ec4410a1e89bf044f8c58c (patch)
treeeed4bd446d9b4619795c7949fb21ab669a544852 /iw
parent52847e4d0be8fffb7d13d016dfe556f22f543e27 (diff)
downloadanaconda-2003c2d4befe4b6cd1ec4410a1e89bf044f8c58c.tar.gz
anaconda-2003c2d4befe4b6cd1ec4410a1e89bf044f8c58c.tar.xz
anaconda-2003c2d4befe4b6cd1ec4410a1e89bf044f8c58c.zip
if checkLiloReqs is true, the Next button should re-enable if grub passwd box unchecked
Diffstat (limited to 'iw')
-rw-r--r--iw/bootloader_gui.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/iw/bootloader_gui.py b/iw/bootloader_gui.py
index a65024dc1..5a1f3fc0f 100644
--- a/iw/bootloader_gui.py
+++ b/iw/bootloader_gui.py
@@ -270,6 +270,12 @@ class BootloaderWindow (InstallWindow):
else:
self.passbutton.set_sensitive(FALSE)
+ try:
+ if self.checkLiloReqs():
+ self.ics.setNextEnabled (1)
+ except:
+ pass
+
def passwordDialog(self, *args):
dialog = GnomeDialog(_("GRUB Password"))
dialog.append_button (_("OK"))
@@ -315,7 +321,8 @@ class BootloaderWindow (InstallWindow):
continue
self.password = pw
- self.ics.setNextEnabled(1)
+ if self.checkLiloReqs():
+ self.ics.setNextEnabled(1)
dialog.close()
break