diff options
author | jakub <jakub> | 1999-09-29 10:23:02 +0000 |
---|---|---|
committer | jakub <jakub> | 1999-09-29 10:23:02 +0000 |
commit | eb661e6579f31ef588421d122c80a7330d9cb50f (patch) | |
tree | df0f675122d7109eaef974462e835d830f69cfde /iw | |
parent | 62dcf5efc8699d9cc156db0664205e53dad9feb7 (diff) | |
download | anaconda-eb661e6579f31ef588421d122c80a7330d9cb50f.tar.gz anaconda-eb661e6579f31ef588421d122c80a7330d9cb50f.tar.xz anaconda-eb661e6579f31ef588421d122c80a7330d9cb50f.zip |
Further SILO hacks and fixes.
Diffstat (limited to 'iw')
-rw-r--r-- | iw/silo.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/iw/silo.py b/iw/silo.py index c91f7275d..6a4facc8c 100644 --- a/iw/silo.py +++ b/iw/silo.py @@ -26,7 +26,12 @@ class SiloWindow (InstallWindow): def getNext (self): # XXX - if not self.bootdisk: return None + if not self.bootdisk: + if self.todo.silo.hasUsableFloppy() == 2: + self.todo.bootdisk = 1 + else: + self.todo.bootdisk = 0 + return None if self.bootdisk.get_active (): self.todo.bootdisk = 1 @@ -56,7 +61,7 @@ class SiloWindow (InstallWindow): if (type == 2): return "Linux Native" elif (type == 6): - return "SunOS/Solaris" + return "UFS" else: return "Other" @@ -199,10 +204,12 @@ class SiloWindow (InstallWindow): optionBox = GtkVBox (FALSE, 5) optionBox.set_border_width (5) self.bootdisk = GtkCheckButton (_("Create boot disk")) - if self.todo.silo.hasUsableFloppy(): + floppy = self.todo.silo.hasUsableFloppy() + if floppy == 2: self.bootdisk.set_active (TRUE) else: self.bootdisk.set_active (FALSE) + if floppy == 0: self.bootdisk.set_sensitive (FALSE) optionBox.pack_start (self.bootdisk) |