[pitivi] timeline: Fix dragging of second clip from the media library to the timeline
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Fix dragging of second clip from the media library to the timeline
- Date: Thu, 9 Oct 2014 02:06:40 +0000 (UTC)
commit 4ef394b866fc170274cd33b0d4807ade91152c02
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Tue Sep 30 22:11:58 2014 +0200
timeline: Fix dragging of second clip from the media library to the timeline
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=737634
pitivi/timeline/timeline.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 298f3ba..0fa5875 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -1472,6 +1472,8 @@ class TimelineContainer(Gtk.Grid, Zoomable, Loggable):
if self.isDraggedClip:
self.timeline.convertGhostClips()
self.timeline.resetGhostClips()
+ self.dropData = None
+ self.dropDataReady = False
if zoom_was_fitted:
self._setBestZoomRatio()
else:
@@ -1490,7 +1492,6 @@ class TimelineContainer(Gtk.Grid, Zoomable, Loggable):
def _dragDataReceivedCb(self, widget, drag_context, unused_x, unused_y, selection_data, unused_info,
timestamp):
dragging_effect = selection_data.get_data_type().name() == "pitivi/effect"
- print (dragging_effect)
if not self.dropDataReady:
if dragging_effect:
# Dragging an effect from the Effect Library.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]