Return TRUE again in drag_motion_cb for accepting dnd drops.
This commit is contained in:
parent
bd3e084805
commit
5990e5bfd1
@ -146,7 +146,7 @@ class ClipboardBox(hippo.CanvasBox):
|
|||||||
def drag_motion_cb(self, widget, context, x, y, time):
|
def drag_motion_cb(self, widget, context, x, y, time):
|
||||||
logging.debug('ClipboardBox._drag_motion_cb')
|
logging.debug('ClipboardBox._drag_motion_cb')
|
||||||
context.drag_status(gtk.gdk.ACTION_COPY, time)
|
context.drag_status(gtk.gdk.ACTION_COPY, time)
|
||||||
return False;
|
return True;
|
||||||
|
|
||||||
def drag_drop_cb(self, widget, context, x, y, time):
|
def drag_drop_cb(self, widget, context, x, y, time):
|
||||||
logging.debug('ClipboardBox._drag_drop_cb')
|
logging.debug('ClipboardBox._drag_drop_cb')
|
||||||
|
Loading…
Reference in New Issue
Block a user