[Thunar-dev] Drag and Drop?

Ori Bernstein ori at eigenstate.org
Mon Jan 7 07:19:24 CET 2008


On Sun, 6 Jan 2008 21:02:53 -0800 (PST), Hart's Antler <bhartsho at yahoo.com>
said:

> Hi all,
> I am a recent convert to XFCE, much clearer and more useable than Gnome.
> I had been writing a pygtk app that accepted drag and drops from Nautilus, but when i try it with
> Thunar nothing happens.  Is there something i can change on my end of the code to get it working? 

Yes. You need to provide one of the supported target types for dropping
into Thunar.

By poking a bit around in the source code, the supported types are:

    text/uri-list
    XdndDirectSave0
    _NETSCAPE_URL

Thunar, of course, only provides drags in the format:

    text/uri-list

If you make your app support text/uri-list, everything should just work



More information about the Thunar-dev mailing list