[pitivi] clipproperties: Prevent drag and drop "ghosts" from the effects library
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] clipproperties: Prevent drag and drop "ghosts" from the effects library
- Date: Wed, 20 Mar 2013 18:56:34 +0000 (UTC)
commit d5bd8dc02503e35658548e129bab25b7a3f50031
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date: Wed Mar 20 14:51:47 2013 -0400
clipproperties: Prevent drag and drop "ghosts" from the effects library
Ensure that dragging and dropping an effect triggers the drag_end signal;
using the "DROP" (or "ALL") flag for default DragDest allows us to correctly
signal the end of the drag and drop without calling drag_finish() ourselves.
Fixes bug #695894
pitivi/clipproperties.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index 559aaf1..8a2a9c8 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -208,7 +208,7 @@ class EffectProperties(Gtk.Expander, Loggable):
namecol.add_attribute(namecell, "text", COL_NAME_TEXT)
self.treeview.append_column(namecol)
- self.treeview.drag_dest_set(Gtk.DestDefaults.MOTION,
+ self.treeview.drag_dest_set(Gtk.DestDefaults.ALL,
[EFFECT_TARGET_ENTRY], Gdk.DragAction.COPY)
self.treeview.drag_dest_add_text_targets()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]