summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-05 18:49:52 +0000
committerMatt Wilson <msw@redhat.com>2000-02-05 18:49:52 +0000
commitf299d4c10cb9aeecf2d96635530b3873d42df8e3 (patch)
treedbeebb5a42d3841f1ab562417b7f8f98683c134e /iw
parent27537c495d5275f6cec9ac5ba36d61c2ac4ce22d (diff)
downloadanaconda-f299d4c10cb9aeecf2d96635530b3873d42df8e3.tar.gz
anaconda-f299d4c10cb9aeecf2d96635530b3873d42df8e3.tar.xz
anaconda-f299d4c10cb9aeecf2d96635530b3873d42df8e3.zip
massive silo change over to new lilo style
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 af46134ff..0139ee5ed 100644
--- a/iw/silo.py
+++ b/iw/silo.py
@@ -39,15 +39,15 @@ class SiloWindow (InstallWindow):
self.todo.bootdisk = 0
if self.silo.get_active ():
- self.todo.setLiloLocation (None)
+ self.todo.silo.setDevice(None)
else:
if self.mbr.get_active ():
- self.todo.setLiloLocation ("mbr")
+ self.todo.silo.setDevice("mbr")
else:
- self.todo.setLiloLocation ("partition")
+ self.todo.silo.setDevice("partition")
- self.todo.liloAppend = self.appendEntry.get_text()
- self.todo.setLiloImages(self.images)
+ self.todo.silo.setAppend(self.appendEntry.get_text())
+ self.todo.silo.setLiloImages(self.images)
linuxAlias = 0
bootDevice = 0
@@ -146,9 +146,9 @@ class SiloWindow (InstallWindow):
(mount, dev, fstype, format, size) = self.todo.fstab.mountList()[0]
if mount != '/': return None
- (bootpart, boothd, mbrpart) = self.todo.silo.getSiloOptions()
- self.bootpart = bootpart
- self.mbrpart = mbrpart
+
+ self.bootpart = self.todo.fstab.getBootDevice()
+ self.mbrpart = self.todo.fstab.getMbrDevice()
format = "/dev/%s"
@@ -185,7 +185,7 @@ class SiloWindow (InstallWindow):
self.radioBox.attach(tempBox, 0, 2, 4, 5)
self.mbr.connect("toggled", self.mbr_toggled)
- if self.todo.silo.getSiloMbrDefault() == 'mbr':
+ if self.todo.silo.getSiloMbrDefault(self.todo.fstab) == 'mbr':
self.mbr.set_active (TRUE)
else:
part.set_active (TRUE);
@@ -197,8 +197,8 @@ class SiloWindow (InstallWindow):
label = GtkLabel(_("Kernel parameters") + ":")
label.set_alignment(0.0, 0.5)
self.appendEntry = GtkEntry(15)
- if self.todo.liloAppend:
- self.appendEntry.set_text(self.todo.liloAppend)
+ if self.todo.silo.getAppend():
+ self.appendEntry.set_text(self.todo.silo.getAppend())
box = GtkHBox(FALSE, 5)
box.pack_start(label)
box.pack_start(self.appendEntry)