Re: Requesting you to provide helpful information regarding icons, emblem setting in nautilus.



On Thu, 2010-05-13 at 12:47 +0530, arun cdacmumbai in wrote:

> As the part of project we are currentlly exploring on ICON management
> such as custom icon,emblems and notes etc. and currentaly we are
> trying to set emblems dynamically to a file using our own program. We
> are using nautilus as a File manager. In nautilus we know meta data
> about a file is stored in xml files under user's home directory
> i.e. ~/.nautilus/metafiles/ . 

This is not true anymore for recent versions of Nautilus, as it uses the
GVfs metadata backend to save that information.
Provided your installation of GVfs includes the metadata backend, you
should be able to use g_file_info_set_attribute_* functions to set
metadata attributes that nautilus can read.

You can look at libnautilus-private/nautilus-metadata.h for a list of
keys that nautilus provides, and gvfs-info on a file from the command to
query the attributes on a file.

Cheers,

Cosimo



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