diff options
author | Peter Jones <pjones@redhat.com> | 2005-03-12 03:01:54 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2005-03-12 03:01:54 +0000 |
commit | b6c0d8fb54f90b8bc30b3d870997385954c64164 (patch) | |
tree | 912f3c026f2dc0b822691675d4e7e283cd745a72 /iw/upgrade_migratefs_gui.py | |
parent | d267b1e14b912f42007a1a7fed1eb8cd2bd6d6be (diff) | |
download | anaconda-b6c0d8fb54f90b8bc30b3d870997385954c64164.tar.gz anaconda-b6c0d8fb54f90b8bc30b3d870997385954c64164.tar.xz anaconda-b6c0d8fb54f90b8bc30b3d870997385954c64164.zip |
fix warnings about gtk.TRUE and gtk.FALSE, partly based on a patch
from Colin Walters.
Diffstat (limited to 'iw/upgrade_migratefs_gui.py')
-rw-r--r-- | iw/upgrade_migratefs_gui.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/iw/upgrade_migratefs_gui.py b/iw/upgrade_migratefs_gui.py index 502c7d4da..d63750261 100644 --- a/iw/upgrade_migratefs_gui.py +++ b/iw/upgrade_migratefs_gui.py @@ -49,7 +49,7 @@ class UpgradeMigrateFSWindow (InstallWindow): self.migent = fsset.getMigratableEntries() self.fsset = fsset - box = gtk.VBox (gtk.FALSE, 5) + box = gtk.VBox (False, 5) box.set_border_width (5) text = N_("This release of %s supports " @@ -63,10 +63,10 @@ class UpgradeMigrateFSWindow (InstallWindow): label = gtk.Label (_(text)) label.set_alignment (0.5, 0.0) label.set_size_request(400, -1) - label.set_line_wrap (gtk.TRUE) - box.pack_start(label, gtk.FALSE) + label.set_line_wrap (True) + box.pack_start(label, False) - cbox = gtk.VBox(gtk.FALSE, 5) + cbox = gtk.VBox(False, 5) self.cbs = [] for entry in self.migent: if entry.fsystem.getName() != entry.origfsystem.getName(): @@ -78,7 +78,7 @@ class UpgradeMigrateFSWindow (InstallWindow): entry.origfsystem.getName(), entry.mountpoint)) cb.set_active(migrating) - cbox.pack_start(cb, gtk.FALSE) + cbox.pack_start(cb, False) self.cbs.append((cb, entry)) @@ -93,7 +93,7 @@ class UpgradeMigrateFSWindow (InstallWindow): a = gtk.Alignment(0.25, 0.5) a.add(sw) - box.pack_start(a, gtk.TRUE) + box.pack_start(a, True) a = gtk.Alignment(0.5, 0.5) a.add(box) |