[pitivi/gtktimeline: 20/28] elements: Always follow up fake events
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/gtktimeline: 20/28] elements: Always follow up fake events
- Date: Tue, 5 May 2015 07:51:38 +0000 (UTC)
commit a025b4c9c85fa2e0dafd2c96bad0bdac61dc5ca1
Author: Thibault Saunier <tsaunier gnome org>
Date: Sat May 2 09:54:35 2015 +0200
elements: Always follow up fake events
pitivi/timeline/elements.py | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index 1279e94..3fd93ad 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -589,12 +589,10 @@ class Clip(Gtk.EventBox, timelineUtils.Zoomable, Loggable):
pass
def sendFakeEvent(self, event, event_widget):
- follow_up = True
if event.type == Gdk.EventType.BUTTON_RELEASE:
- follow_up = self._clickedCb(event_widget, event)
+ self._clickedCb(event_widget, event)
- if follow_up:
- self.timeline.sendFakeEvent(event, event_widget)
+ self.timeline.sendFakeEvent(event, event_widget)
def do_draw(self, cr):
self.updatePosition()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]