Comment 10 for bug 873167

Revision history for this message
Andrea Azzarone (azzar1) wrote : Re: Cannot drag emails between Thunderbird windows [regression]

Well, as imagined Thunderbird doesn't use text/uri-list to share dnd data. I get this data:

=================================================================================================
 - text/x-moz-message
   * i
 - text/x-moz-url
   * i
 - _NETSCAPE_URL
    * imap://azzaronea%40gmail%<email address hidden>:993/fetch%3EUID%3E/%5BGmail%5D/Importanti%3E31794
 - application/x-moz-file-promise-url
    * i
 - application/x-moz-file-promise
    * i
===============================================================================================

The only useful data is _NETSCAPE_URL. Because we cannot get the mimetype of imap://... we can add an hack in the unity drag and drop system to highlights thuderbird icon if we have an imap://... in _NETSCAPE_URL

P.S. This only solve the first part of the problem.