[pitivi] timeline: Handle only the key-press/release events on the timeline



commit 5ffd50e208d8872b555d2c60b24256c015c0e762
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Thu Feb 27 23:51:38 2014 +0100

    timeline: Handle only the key-press/release events on the timeline
    
    Fixes (again) https://bugzilla.gnome.org/show_bug.cgi?id=579319

 pitivi/timeline/timeline.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 2b97672..2ece2a7 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -839,8 +839,8 @@ class TimelineContainer(Gtk.Grid, Zoomable, Loggable):
         self.timeline.connect("button-release-event", self._timelineClickReleasedCb)
         self.embed.connect("scroll-event", self._scrollEventCb)
 
-        self.gui.connect("key-press-event", self._keyPressEventCb)
-        self.gui.connect("key-release-event", self._keyReleaseEventCb)
+        self.connect("key-press-event", self._keyPressEventCb)
+        self.connect("key-release-event", self._keyReleaseEventCb)
 
         self.point = Clutter.Point()
         self.point.x = 0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]