[pitivi] elements: Allow the drag source to keep the dragged effect
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] elements: Allow the drag source to keep the dragged effect
- Date: Wed, 12 Oct 2016 08:39:11 +0000 (UTC)
commit e705a46abc788d999e45c81c71c284f905643dce
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Mon Oct 10 23:34:12 2016 +0200
elements: Allow the drag source to keep the dragged effect
The del=True argument of drag_finish was forcing the treeview holding
the list of effects to remove the dragged effect, even though it
specifies only Gdk.DragAction.COPY in the
Gtk.TreeView.enable_model_drag_source call.
Fixes https://phabricator.freedesktop.org/T7582
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1369
pitivi/timeline/elements.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index 140822b..dd6ddc7 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -925,7 +925,7 @@ class Clip(Gtk.EventBox, Zoomable, Loggable):
self.timeline.cleanDropData()
success = True
- Gtk.drag_finish(context, success, True, timestamp)
+ Gtk.drag_finish(context, success, False, timestamp)
return success
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]