summaryrefslogtreecommitdiffstats
path: root/iw/partmethod_gui.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-03-12 03:01:54 +0000
committerPeter Jones <pjones@redhat.com>2005-03-12 03:01:54 +0000
commitb6c0d8fb54f90b8bc30b3d870997385954c64164 (patch)
tree912f3c026f2dc0b822691675d4e7e283cd745a72 /iw/partmethod_gui.py
parentd267b1e14b912f42007a1a7fed1eb8cd2bd6d6be (diff)
downloadanaconda-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/partmethod_gui.py')
-rw-r--r--iw/partmethod_gui.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/iw/partmethod_gui.py b/iw/partmethod_gui.py
index 28b999b07..d7805a1fa 100644
--- a/iw/partmethod_gui.py
+++ b/iw/partmethod_gui.py
@@ -39,22 +39,22 @@ class PartitionMethodWindow(InstallWindow):
self.partitions = partitions
- box = gtk.VBox (gtk.FALSE)
+ box = gtk.VBox (False)
box.set_border_width (5)
label=WrappingLabel(_(PARTMETHOD_TYPE_DESCR_TEXT))
label.set_alignment(0.0, 0.0)
- box.pack_start(label, gtk.TRUE, gtk.TRUE)
+ box.pack_start(label, True, True)
- radioBox = gtk.VBox (gtk.FALSE)
+ radioBox = gtk.VBox (False)
self.useAuto = gtk.RadioButton(
None, _("_Automatically partition"))
- radioBox.pack_start(self.useAuto, gtk.FALSE, gtk.FALSE)
+ radioBox.pack_start(self.useAuto, False, False)
self.useDS = gtk.RadioButton(
self.useAuto, _("Manually partition with _Disk Druid"))
- radioBox.pack_start(self.useDS, gtk.FALSE, gtk.FALSE)
+ radioBox.pack_start(self.useDS, False, False)
if partitions.useAutopartitioning:
self.useAuto.set_active(1)
@@ -65,11 +65,11 @@ class PartitionMethodWindow(InstallWindow):
align.add(radioBox)
align.set(0.5, 0.5, 0.0, 0.0)
- box.pack_start(align, gtk.FALSE, gtk.FALSE, 10)
+ box.pack_start(align, False, False, 10)
box.set_border_width (5)
- self.ics.setNextEnabled (gtk.TRUE)
+ self.ics.setNextEnabled (True)
align = gtk.Alignment()
align.add(box)