Commit 31de4e7e authored by Yanko Kaneti's avatar Yanko Kaneti Committed by Jeremy Bicha

Fix NumberBox events configuration with latest pygobject
parent 0858c2c6
......@@ -130,7 +130,7 @@ class NumberBox (Gtk.DrawingArea):
self.bottom_note_list = []
self.tinfo = tracker_info.TrackerInfo()
self.set_property('can-focus', True)
self.set_property('events', Gdk.EventMask.ALL_EVENTS_MASK)
self.connect('button-press-event', self.button_press_cb)
self.connect('key-release-event', self.key_press_cb)
self.connect('enter-notify-event', self.pointer_enter_cb)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment