Comment 56 for bug 151162

Revision history for this message
In , Tokoe (tokoe) wrote :

Created an attachment (id=374754)
Drag&Drop support by widget/gtk2 code

This patch implements drag&drop from thunderbird to the Linux desktop (or file manager) by changing code in widgets/src/gtk2 only.
It makes use of the kFilePromise feature to trigger the mail component to save the attachment to a temporary file whenever the text/uri-list flavor is requested on a drag&drop operation. The url of the temporary file is passed as flavor data then...
Could somebody comment on the code, please? I guess the string conversion can be done easier...