diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-10-31 20:58:51 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-10-31 20:58:51 +0000 |
commit | 36734439183265c41b613183eb832c1716dd6f92 (patch) | |
tree | e205f508f24bf436e43b02fc9b1d483aceb9d2b0 /iw | |
parent | ca45cc10ea946fc3d1fc47ef12de07b1c85d59a5 (diff) | |
download | anaconda-36734439183265c41b613183eb832c1716dd6f92.tar.gz anaconda-36734439183265c41b613183eb832c1716dd6f92.tar.xz anaconda-36734439183265c41b613183eb832c1716dd6f92.zip |
update bootdisk screen for pygtk2
Diffstat (limited to 'iw')
-rw-r--r-- | iw/bootdisk_gui.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/iw/bootdisk_gui.py b/iw/bootdisk_gui.py index e627a6d2c..dd4343797 100644 --- a/iw/bootdisk_gui.py +++ b/iw/bootdisk_gui.py @@ -13,7 +13,7 @@ import iutil from iw_gui import * -from gtk import * +import gtk from translate import _, N_ from constants import * @@ -24,7 +24,7 @@ class BootdiskWindow (InstallWindow): def __init__ (self, ics): InstallWindow.__init__ (self, ics) - ics.setPrevEnabled (FALSE) + ics.setPrevEnabled (gtk.FALSE) def getNext (self): if iutil.getArch() == "alpha" or iutil.getArch() == "ia64": @@ -41,13 +41,13 @@ class BootdiskWindow (InstallWindow): def getScreen (self, dir, disp, fsset): self.dispatch = disp - box = GtkVBox (FALSE, 5) + box = gtk.VBox (gtk.FALSE, 5) pix = self.ics.readPixmap ("gnome-floppy.png") if pix: - a = GtkAlignment () + a = gtk.Alignment () a.add (pix) a.set (0.0, 0.0, 0.0, 0.0) - box.pack_start (a, FALSE) + box.pack_start (a, gtk.FALSE) label = None @@ -61,17 +61,17 @@ class BootdiskWindow (InstallWindow): text = text + _("\n\nA boot disk is REQUIRED to boot a " "partitionless install.") - label = GtkLabel (text) + label = gtk.Label (text) - label.set_line_wrap (TRUE) - box.pack_start (label, FALSE) + label.set_line_wrap (gtk.TRUE) + box.pack_start (label, gtk.FALSE) - self.skipBootdisk = GtkCheckButton (_("Skip boot disk creation")) - self.skipBootdisk.set_active (FALSE) - box.pack_start (GtkHSeparator (), FALSE, padding=3) - box.pack_start (self.skipBootdisk, 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(FALSE) + self.skipBootdisk.set_sensitive(gtk.FALSE) return box |