summaryrefslogtreecommitdiff
path: root/GstDebugViewer
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2008-01-24 10:59:14 +0200
committerRené Stadler <mail@renestadler.de>2008-01-24 10:59:14 +0200
commit2f8f58c29b1ad668ba4282b61c886a468474a122 (patch)
tree1b020937c3c2b7e1df14ce76965ad5ce0defee83 /GstDebugViewer
parent6033796ad9eec6ece4a1189ea816d1277c4e7fb4 (diff)
Replace gdk.ALL_EVENTS_MASK with proper minimal set of event flags
Diffstat (limited to 'GstDebugViewer')
-rw-r--r--GstDebugViewer/Plugins/Timeline.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/GstDebugViewer/Plugins/Timeline.py b/GstDebugViewer/Plugins/Timeline.py
index 3667465..eee6402 100644
--- a/GstDebugViewer/Plugins/Timeline.py
+++ b/GstDebugViewer/Plugins/Timeline.py
@@ -667,7 +667,8 @@ class TimelineFeature (FeatureBase):
box = window.get_top_attach_point ()
self.timeline = TimelineWidget ()
- self.timeline.add_events (gtk.gdk.ALL_EVENTS_MASK) # FIXME
+ self.timeline.add_events (gtk.gdk.BUTTON1_MOTION_MASK |
+ gtk.gdk.BUTTON_PRESS_MASK)
self.timeline.connect ("button-press-event", self.handle_timeline_button_press_event)
self.timeline.connect ("motion-notify-event", self.handle_timeline_motion_notify_event)
box.pack_start (self.timeline, False, False, 0)