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/ipwidget.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/ipwidget.py')
-rw-r--r-- | iw/ipwidget.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iw/ipwidget.py b/iw/ipwidget.py index 362553cb3..f64055991 100644 --- a/iw/ipwidget.py +++ b/iw/ipwidget.py @@ -51,9 +51,9 @@ class IPEditor: hbox = gtk.HBox() for name in ip_fields: - hbox.pack_start(self.entrys[name], gtk.FALSE, gtk.FALSE) + hbox.pack_start(self.entrys[name], False, False) if name != 'entry4': - hbox.pack_start(gtk.Label('.'), gtk.FALSE, gtk.FALSE) + hbox.pack_start(gtk.Label('.'), False, False) self.widget = hbox @@ -133,7 +133,7 @@ if __name__ == "__main__": vbox.pack_start(ip.getWidget()) button = gtk.Button("Quit") button.connect("pressed", output, ip) - vbox.pack_start(button, gtk.FALSE, gtk.FALSE) + vbox.pack_start(button, False, False) win.add(vbox) win.show_all() gtk.main() |