Fix bug: allow drop from Nautilius/Dolphin

svn: r14542
This commit is contained in:
Benny Malengier 2010-03-01 08:57:44 +00:00
parent 699d0d9eb8
commit 4105b54984

View File

@ -368,7 +368,7 @@ class GalleryTab(ButtonTab, DbGUIElement):
DdTargets.MEDIAOBJ.target()] DdTargets.MEDIAOBJ.target()]
self.iconlist.enable_model_drag_dest(dnd_types, self.iconlist.enable_model_drag_dest(dnd_types,
gtk.gdk.ACTION_COPY) gtk.gdk.ACTION_MOVE|gtk.gdk.ACTION_COPY)
self.iconlist.enable_model_drag_source(gtk.gdk.BUTTON1_MASK, self.iconlist.enable_model_drag_source(gtk.gdk.BUTTON1_MASK,
[self._DND_TYPE.target()], [self._DND_TYPE.target()],
gtk.gdk.ACTION_COPY) gtk.gdk.ACTION_COPY)