diff options
author | Mike Fulbright <msf@redhat.com> | 2002-05-24 03:38:51 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-05-24 03:38:51 +0000 |
commit | a10b9568435afb13a45a1cf06e911d9dfd366def (patch) | |
tree | 718f7b211aff65f96f1b49e8accf6bf3f96c39a6 | |
parent | c3cf61613436ca5adec3362df4ff9e0580a4a5fd (diff) | |
download | anaconda-a10b9568435afb13a45a1cf06e911d9dfd366def.tar.gz anaconda-a10b9568435afb13a45a1cf06e911d9dfd366def.tar.xz anaconda-a10b9568435afb13a45a1cf06e911d9dfd366def.zip |
fix bootdisk screen, addresses bug #62258
-rw-r--r-- | iw/bootdisk_gui.py | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/iw/bootdisk_gui.py b/iw/bootdisk_gui.py index dce7b6227..83052f052 100644 --- a/iw/bootdisk_gui.py +++ b/iw/bootdisk_gui.py @@ -30,7 +30,7 @@ class BootdiskWindow (InstallWindow): if iutil.getArch() == "alpha" or iutil.getArch() == "ia64": return None - if self.skipBootdisk.get_active (): + if self.skipDisk.get_active (): self.dispatch.skipStep("makebootdisk") else: self.dispatch.skipStep("makebootdisk", skip = 0) @@ -52,26 +52,30 @@ class BootdiskWindow (InstallWindow): label = None text = _("The boot disk allows you to boot your %s " - "system from a floppy diskette.\n\n" - "Please remove any diskettes from the floppy drive and " - "insert a blank diskette. All data will be ERASED " - "during creation of the boot disk.") % (productName,) - - if fsset.rootOnLoop(): - text = text + _("\n\nA boot disk is REQUIRED to boot a " - "partitionless install.") + "system from a floppy diskette. A boot disk " + "allows you to boot your system if your " + "bootloader configuration stops working.\n\nIt is " + "highly recommended you create a boot disk.\n\n" + "Would you like to create a boot disk?") % (productName,) label = gtk.Label (text) label.set_line_wrap (gtk.TRUE) box.pack_start (label, gtk.FALSE) - - self.skipBootdisk = gtk.CheckButton (_("Skip boot disk creation")) - self.skipBootdisk.set_active (gtk.FALSE) - box.pack_start (gtk.HSeparator (), gtk.FALSE, padding=3) - box.pack_start (self.skipBootdisk, gtk.FALSE) - if fsset.rootOnLoop(): - self.skipBootdisk.set_sensitive(gtk.FALSE) + radioBox = gtk.VBox (gtk.FALSE) + + self.createDisk = gtk.RadioButton( + None, _("Yes, I would like to create a boot disk")) + radioBox.pack_start(self.createDisk, gtk.FALSE, gtk.FALSE, padding=10) + self.skipDisk = gtk.RadioButton( + self.createDisk, _("No, I do not want to create a boot disk")) + radioBox.pack_start(self.skipDisk, gtk.FALSE, gtk.FALSE) + + self.createDisk.set_active(1) + + align = gtk.Alignment(0.5, 0.0) + align.add(radioBox) + box.pack_start(align) return box |