On 03 Jul 2005 12:13:07 -0500, Doug Quale <[EMAIL PROTECTED]> wrote:
> I don't know if this will help. You can try using
> drag_context.finish() in the branches of the conditional in
> data_received_callback():
>
> def data_received_callback(self, widget, drag_context, x, y,
> selection_data, target_type, time):
> if ...:
> ...
> # Should actually check here to make sure that the file load worked
> drag_context.finish(success=True, del_=False, time=time)
> else:
> ...
> drag_context.finish(success=False, del_=False, time=time)
>
> Unfortunately I suspect this won't fix the problem.
Thanks for your suggestions. Earlier today, I added the
drag_context.finish method, it stopped the handlers from being called
twice, however, the file's URI is still being appended to the
document. The link below points to a screenshot that illustrates my
problem.
http://www.deviantart.com/view/14143494/
Thanks
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/