Commit a34084c5 authored by Alexandru Băluț's avatar Alexandru Băluț Committed by Mathieu Duponchelle

timeline: Clarify a fixme

parent a1151ac8
...@@ -837,6 +837,7 @@ class TimelineContainer(Gtk.Grid, Zoomable, Loggable): ...@@ -837,6 +837,7 @@ class TimelineContainer(Gtk.Grid, Zoomable, Loggable):
self.timeline.connect("button-press-event", self._timelineClickedCb) self.timeline.connect("button-press-event", self._timelineClickedCb)
self.timeline.connect("button-release-event", self._timelineClickReleasedCb) self.timeline.connect("button-release-event", self._timelineClickReleasedCb)
# FIXME: Connect to the stage of the embed instead, see https://bugzilla.gnome.org/show_bug.cgi?id=697522
self.embed.connect("scroll-event", self._scrollEventCb) self.embed.connect("scroll-event", self._scrollEventCb)
self.connect("key-press-event", self._keyPressEventCb) self.connect("key-press-event", self._keyPressEventCb)
...@@ -1436,7 +1437,6 @@ class TimelineContainer(Gtk.Grid, Zoomable, Loggable): ...@@ -1436,7 +1437,6 @@ class TimelineContainer(Gtk.Grid, Zoomable, Loggable):
self._project.pipeline.save_thumbnail(-1, -1, mime, path) self._project.pipeline.save_thumbnail(-1, -1, mime, path)
def _scrollEventCb(self, unused_embed, event): def _scrollEventCb(self, unused_embed, event):
# FIXME : see https://bugzilla.gnome.org/show_bug.cgi?id=697522
deltas = event.get_scroll_deltas() deltas = event.get_scroll_deltas()
if event.state & Gdk.ModifierType.CONTROL_MASK: if event.state & Gdk.ModifierType.CONTROL_MASK:
if deltas[2] < 0: if deltas[2] < 0:
......
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