diff options
author | jakub <jakub> | 1999-10-04 16:33:15 +0000 |
---|---|---|
committer | jakub <jakub> | 1999-10-04 16:33:15 +0000 |
commit | 8c0c9dfa0c3da692ab5e5f094921d14075e36e5d (patch) | |
tree | 5f368bdb6b8bab5dda26c0bdb5248ff32f43cb65 | |
parent | 61e73e1c69889508fc78875a3412e8134708ad32 (diff) | |
download | anaconda-8c0c9dfa0c3da692ab5e5f094921d14075e36e5d.tar.gz anaconda-8c0c9dfa0c3da692ab5e5f094921d14075e36e5d.tar.xz anaconda-8c0c9dfa0c3da692ab5e5f094921d14075e36e5d.zip |
Find out reasonable default for MBR.
-rw-r--r-- | iw/silo.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/iw/silo.py b/iw/silo.py index 0c64a193d..0040053ae 100644 --- a/iw/silo.py +++ b/iw/silo.py @@ -161,14 +161,18 @@ class SiloWindow (InstallWindow): label.set_alignment(0.0, 0.5) self.radioBox.attach(label, 0, 2, 1, 2) - part = GtkRadioButton(None, + self.mbr = GtkRadioButton(None, + ("/dev/%s %s" % (boothd, _("Master Boot Record (MBR)")))) + part = GtkRadioButton(self.mbr, ("/dev/%s %s" % (bootpart, _("First sector of boot partition")))) - self.mbr = GtkRadioButton(part, - ("/dev/%s %s" % (boothd, _("Master Boot Record (MBR)")))) self.radioBox.attach(part, 1, 2, 2, 3) self.radioBox.attach(self.mbr, 1, 2, 3, 4) self.mbr.connect("toggled", self.mbr_toggled) + if self.todo.silo.getSiloMbrDefault() == 'mbr': + self.mbr.set_active (TRUE) + else: + part.set_active (TRUE); # FIXME: Position this correctly self.linuxAlias = GtkCheckButton( |