* src/MediaView.py (on_drag_drop): Remove drag_get_data() call

as it was calling extraneous 'drag-data-received' signal.


svn: r4644
This commit is contained in:
Alex Roitman 2005-05-20 20:10:09 +00:00
parent 38751bb5a8
commit 5d7c0ec371
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,8 @@
* src/ImageSelect.py (add_thumbnail, on_delete_media_clicked): * src/ImageSelect.py (add_thumbnail, on_delete_media_clicked):
Identify canvas items by MediaRef instance, not by the handle of the Identify canvas items by MediaRef instance, not by the handle of the
referred MediaObject. referred MediaObject.
* src/MediaView.py (on_drag_drop): Remove drag_get_data() call
as it was calling extraneous 'drag-data-received' signal.
2005-05-19 Don Allingham <don@gramps-project.org> 2005-05-19 Don Allingham <don@gramps-project.org>
* src/DisplayModels.py: remove place column * src/DisplayModels.py: remove place column

View File

@ -366,7 +366,6 @@ class MediaView:
def on_drag_drop(self, tree, context, x, y, time): def on_drag_drop(self, tree, context, x, y, time):
self.list.emit_stop_by_name('drag-drop') self.list.emit_stop_by_name('drag-drop')
self.list.drag_get_data(context,context.targets[-1],time)
return 1 return 1
def on_drag_begin(self,obj,context): def on_drag_begin(self,obj,context):