Benedikt Meurer wrote:
> There's no problem to use the code in other applications. Just link to 
> thunar-vfs. That way you can also access the trash and copy/move files, 
> etc, which will be used for the e.g. trash panel plugin once the panel 
> supports out-of-process plugins.

Thunar installs a shared lib, headers and the pkg-config file for this 
purpose, e.g. compile with:

  cc `pkg-config --cflags --libs thunar-vfs-1` ...

and remember to invoke thunar_vfs_init() on program/module startup, and 
thunar_vfs_shutdown() on exit (atleast for modules!).

But since the API is not frozen yet, expect breakage during the next 
months. ;-)

Benedikt
_______________________________________________
Thunar-dev mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/thunar-dev

Reply via email to