diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-10-22 20:01:02 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-10-22 20:01:02 +0000 |
commit | cf648d51edb76a31ce02a1a2f29100c4a3af7c48 (patch) | |
tree | d199b64551412662bea85d722b47dfd8ebfd02f0 /iw | |
parent | 7f5d3cec9b4a06d4155010e4e50134611557f4f3 (diff) | |
download | anaconda-cf648d51edb76a31ce02a1a2f29100c4a3af7c48.tar.gz anaconda-cf648d51edb76a31ce02a1a2f29100c4a3af7c48.tar.xz anaconda-cf648d51edb76a31ce02a1a2f29100c4a3af7c48.zip |
'linux lilo' will get you lilo back now.
*sigh*
Diffstat (limited to 'iw')
-rw-r--r-- | iw/bootloader_main_gui.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iw/bootloader_main_gui.py b/iw/bootloader_main_gui.py index cac231757..761383608 100644 --- a/iw/bootloader_main_gui.py +++ b/iw/bootloader_main_gui.py @@ -18,6 +18,7 @@ import gobject import iutil import partedUtils import gui +import bootloader from iw_gui import * from rhpl.translate import _, N_ @@ -137,7 +138,7 @@ class MainBootloaderWindow(InstallWindow): self.grub_radio = gtk.RadioButton(None, (_("Use _GRUB as the " "boot loader"))) - if 0: + if bootloader.showLilo: self.lilo_radio = gtk.RadioButton(self.grub_radio, (_("Use _LILO as the boot " "loader"))) @@ -156,7 +157,7 @@ class MainBootloaderWindow(InstallWindow): if self.blname is None: self.none_radio.set_active(gtk.TRUE) - elif 0 and self.blname == "LILO" and iutil.getArch() == "i386": + elif self.lilo_radio is not None and self.blname == "LILO" and iutil.getArch() == "i386": self.lilo_radio.set_active(gtk.TRUE) else: self.grub_radio.set_active(gtk.TRUE) |