Metadata caching



Hi all

I'm writing a set of Nautilus scripts to handle CVS files. One of these
scripts analyzes the contents of a directory and sets the appropriate
emblem for each file according to its CVS status. It does this by
modifying .nautilus-metafile.xml (with Ruby+REXML). All would be
fine if it wasn't for the fact that Nautilus caches metadata information
and there is no way to tell it to refresh this data (apart from sending
a SIGHUP - but it's rather ugly).
How can I solve this problem? Is there a way to monitor metafiles
for changes and update directory views accordingly?

-- 
Stefano Cobianchi	| stefano tomato it
Tomato Interactive	| www.tomato.it

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning."




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