fixed the POINTER_MOTION_MASK problem. Thanks Asterix!
This commit is contained in:
parent
2a5b0afc44
commit
c0c30f961f
1 changed files with 1 additions and 2 deletions
|
@ -43,10 +43,9 @@ class MessageWindow:
|
|||
self.widget_name = 'message_window'
|
||||
self.xml = gtk.glade.XML(GTKGUI_GLADE, self.widget_name, APP)
|
||||
self.window = self.xml.get_widget(self.widget_name)
|
||||
# FIXME: assertion that !GTK_WIDGET_REALIZED fails
|
||||
# gtk+ doesn't make use of the motion notify on gtkwindow by default
|
||||
# so this line adds that
|
||||
# self.window.set_events(gtk.gdk.POINTER_MOTION_MASK)
|
||||
self.window.add_events(gtk.gdk.POINTER_MOTION_MASK)
|
||||
self.alignment = self.xml.get_widget('alignment')
|
||||
|
||||
self.notebook = self.xml.get_widget('notebook')
|
||||
|
|
Loading…
Add table
Reference in a new issue