summaryrefslogtreecommitdiffstats
path: root/iw/confirm_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/confirm_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/confirm_gui.py')
-rw-r--r--iw/confirm_gui.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/iw/confirm_gui.py b/iw/confirm_gui.py
index 6037085bd..6880e8945 100644
--- a/iw/confirm_gui.py
+++ b/iw/confirm_gui.py
@@ -24,26 +24,26 @@ class ConfirmWindow (InstallWindow):
# ConfirmWindow tag="aboutupgrade" or "aboutinstall"
def getScreen (self, labelText, longText):
- hbox = gtk.HBox (gtk.TRUE, 5)
- box = gtk.VBox (gtk.FALSE, 5)
+ hbox = gtk.HBox (True, 5)
+ box = gtk.VBox (False, 5)
pix = gui.readImageFromFile ("about-to-install.png")
if pix:
a = gtk.Alignment ()
a.add (pix)
a.set (0.5, 0.5, 1.0, 1.0)
- hbox.pack_start (a, gtk.FALSE)
+ hbox.pack_start (a, False)
label = gtk.Label (labelText)
- label.set_line_wrap (gtk.TRUE)
+ label.set_line_wrap (True)
label.set_size_request(190, -1)
label2 = gtk.Label (longText)
- label2.set_line_wrap (gtk.TRUE)
+ label2.set_line_wrap (True)
label2.set_size_request(190, -1)
- box.pack_start (label, gtk.FALSE)
- box.pack_start (label2, gtk.FALSE)
+ box.pack_start (label, False)
+ box.pack_start (label2, False)
box.set_border_width (5)
a = gtk.Alignment ()