Removed debug code from #1389

This commit is contained in:
Travis Shirk 2006-02-01 01:48:43 +00:00
parent df1f876603
commit 065962ba86
1 changed files with 0 additions and 13 deletions

View File

@ -33,16 +33,6 @@ APP = i18n.APP
GTKGUI_GLADE = 'gtkgui.glade' GTKGUI_GLADE = 'gtkgui.glade'
#################### ####################
# FIXME: Debugging #1389
def print_children(widget):
print "widget: %s" % widget.get_name()
if isinstance(widget, gtk.Container):
for c in widget.get_children():
name = c.get_name()
sz = c.size_request()
print "child: %s, %s" % (name, str(sz))
print_children(c)
class MessageWindow: class MessageWindow:
'''Class for windows which contain message like things; chats, '''Class for windows which contain message like things; chats,
groupchats, etc.''' groupchats, etc.'''
@ -64,9 +54,6 @@ class MessageWindow:
self.xml.signal_autoconnect(self) self.xml.signal_autoconnect(self)
self.window = self.xml.get_widget(self.widget_name) self.window = self.xml.get_widget(self.widget_name)
# FIXME: Debugging #1389
print_children(self.window)
# gtk+ doesn't make use of the motion notify on gtkwindow by default # gtk+ doesn't make use of the motion notify on gtkwindow by default
# so this line adds that # so this line adds that
self.window.add_events(gtk.gdk.POINTER_MOTION_MASK) self.window.add_events(gtk.gdk.POINTER_MOTION_MASK)