summaryrefslogtreecommitdiffstats
path: root/iw/bootloader_advanced_gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-06-21 19:12:17 +0000
committerJeremy Katz <katzj@redhat.com>2002-06-21 19:12:17 +0000
commitca836a73b9ae41c994a362bfc694209acfd2ebf6 (patch)
tree86903c42b5e1a688b6d87eab6dcfb2f77ff56dd0 /iw/bootloader_advanced_gui.py
parent1d737a6003b4147b8954d511591711437c9ed0d4 (diff)
downloadanaconda-ca836a73b9ae41c994a362bfc694209acfd2ebf6.tar.gz
anaconda-ca836a73b9ae41c994a362bfc694209acfd2ebf6.tar.xz
anaconda-ca836a73b9ae41c994a362bfc694209acfd2ebf6.zip
fix to not allow changing drive order if using lilo
Diffstat (limited to 'iw/bootloader_advanced_gui.py')
-rw-r--r--iw/bootloader_advanced_gui.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/iw/bootloader_advanced_gui.py b/iw/bootloader_advanced_gui.py
index 05b514f91..91a5f3ec8 100644
--- a/iw/bootloader_advanced_gui.py
+++ b/iw/bootloader_advanced_gui.py
@@ -77,11 +77,13 @@ class AdvancedBootloaderWindow(InstallWindow):
def bootloaderChanged(self, widget, *args):
if widget == self.grub_radio and self.grub_radio.get_active():
# grub is the boot loader
- self.blloc.getWidget().set_sensitive(gtk.TRUE)
+ self.blloc.getWidget().set_sensitive(gtk.TRUE)
+ self.blloc.setUsingGrub(1)
self.options_vbox.set_sensitive(gtk.TRUE)
elif widget == self.lilo_radio and self.lilo_radio.get_active():
# lilo is the boot loader
self.blloc.getWidget().set_sensitive(gtk.TRUE)
+ self.blloc.setUsingGrub(0)
self.options_vbox.set_sensitive(gtk.TRUE)
elif widget == self.none_radio and self.none_radio.get_active():
# using no boot loader