[Ocfs2-tools-commits] manish commits r751 -
trunk/ocfs2console/ocfs2interface
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Mar 28 16:38:06 CST 2005
Author: manish
Date: 2005-03-28 16:38:04 -0600 (Mon, 28 Mar 2005)
New Revision: 751
Modified:
trunk/ocfs2console/ocfs2interface/ipwidget.py
Log:
Undeprecate
Modified: trunk/ocfs2console/ocfs2interface/ipwidget.py
===================================================================
--- trunk/ocfs2console/ocfs2interface/ipwidget.py 2005-03-28 01:10:19 UTC (rev 750)
+++ trunk/ocfs2console/ocfs2interface/ipwidget.py 2005-03-28 22:38:04 UTC (rev 751)
@@ -83,9 +83,9 @@
self.entrys[name].connect('insert_text', self.entry_insert_text_cb, nname)
for name in ip_fields:
- self.pack_start(self.entrys[name], gtk.FALSE, gtk.FALSE)
+ self.pack_start(self.entrys[name], False, False)
if name != 'entry4':
- self.pack_start(gtk.Label('.'), gtk.FALSE, gtk.FALSE)
+ self.pack_start(gtk.Label('.'), False, False)
def getFocusableWidget(self):
return self.entrys['entry1']
@@ -153,17 +153,17 @@
print data.dehydrate()
except:
print "oops errors"
- gtk.mainquit()
+ gtk.main_quit()
win = gtk.Window()
- win.connect('destroy', gtk.mainquit)
+ win.connect('destroy', gtk.main_quit)
vbox = gtk.VBox()
ip = IPEditor()
vbox = gtk.VBox()
vbox.pack_start(ip)
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()
More information about the Ocfs2-tools-commits
mailing list