Re: Some part of nautilus in another application



On Sat, 2008-01-26 at 13:39 +0100, Stefano Maggiolo wrote:
> There is a way to use nautilus from another application to retrieve
> information about some specific file?
> 
> To be more pragmatic, I'd like to be able to use the icon nautilus
> display for a file and the context menu from my applications. I think
> it should be possible, because in this way every application in gnome
> that manages files can provide the same interface.

There are ways to get this icon. In nautilus >= 2.21 you use gio, in
earlier version you use gnome-vfs to get the mimetype and then
gnome_icon_lookup() in libgnomeui.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]