summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorjakub <jakub>1999-10-05 14:55:08 +0000
committerjakub <jakub>1999-10-05 14:55:08 +0000
commitc1d82a2f87c8675e5296e8a7aea647297e98f301 (patch)
tree2dbe3b0f4a4010fa23aee54e6eb538be08c6db82 /iw
parent2a9944ed56ea50f7fc5e2ddc24402196ced507a6 (diff)
downloadanaconda-c1d82a2f87c8675e5296e8a7aea647297e98f301.tar.gz
anaconda-c1d82a2f87c8675e5296e8a7aea647297e98f301.tar.xz
anaconda-c1d82a2f87c8675e5296e8a7aea647297e98f301.zip
Silo install fixups.
Diffstat (limited to 'iw')
-rw-r--r--iw/silo.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/iw/silo.py b/iw/silo.py
index 0040053ae..b7cf8d6a0 100644
--- a/iw/silo.py
+++ b/iw/silo.py
@@ -76,7 +76,7 @@ class SiloWindow (InstallWindow):
def mbr_toggled (self, widget, *args):
if widget.get_active ():
- part = self.boothd
+ part = self.mbrpart
else:
part = self.bootpart
prompath = self.todo.silo.disk2PromPath(part)
@@ -144,9 +144,9 @@ class SiloWindow (InstallWindow):
self.ignoreSignals = 0
if '/' not in self.todo.mounts.keys (): return None
- (bootpart, boothd) = self.todo.silo.getSiloOptions()
+ (bootpart, boothd, mbrpart) = self.todo.silo.getSiloOptions()
self.bootpart = bootpart
- self.boothd = boothd
+ self.mbrpart = mbrpart
format = "/dev/%s"
@@ -166,15 +166,9 @@ class SiloWindow (InstallWindow):
part = GtkRadioButton(self.mbr,
("/dev/%s %s" % (bootpart,
_("First sector of boot partition"))))
- 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);
+ self.radioBox.attach(self.mbr, 1, 2, 2, 3)
+ self.radioBox.attach(part, 1, 2, 3, 4)
- # FIXME: Position this correctly
self.linuxAlias = GtkCheckButton(
_("Create PROM alias") + ":")
if (self.todo.silo.hasAliases()):
@@ -188,6 +182,12 @@ class SiloWindow (InstallWindow):
tempBox.pack_start(self.linuxAliasLabel)
self.radioBox.attach(tempBox, 0, 2, 4, 5)
+ self.mbr.connect("toggled", self.mbr_toggled)
+ if self.todo.silo.getSiloMbrDefault() == 'mbr':
+ self.mbr.set_active (TRUE)
+ else:
+ part.set_active (TRUE);
+
self.bootDevice = GtkCheckButton(_("Set default PROM boot device to linux"))
self.radioBox.attach(self.bootDevice, 0, 2, 5, 6)
self.bootDevice.set_active (TRUE)