Re: removing unused dirs

Mark McLoughlin <[email protected]>
Newsgroups gmane.comp.gnome.lib.gconf
Message-ID <1103651519.12710.4.camel@blaa>
On Tue, 2004-12-21 at 11:38 -0600, Jonathan Koren wrote:
> I'm creating an RSS feed applet, and I need to store some configuration 
> information on a per feed basis.  Naturally I decided to store some of 
> this information in seperate gconf directories.
> 
> Creating a directory for a newly added feed is straight forward, but how 
> do I remove a directory for a newly removed feed?  I don't really want to 
> leave files and directories that will most likely never be used again 
> lying all over the disk.
> 
> Examining my own ~/.gconf and finding artifacts to various uninstalled 
> applications and long removed applets implies there really isn't a way to 
> do this.  Is this the case, and if so will gconf ever support key and 
> directory removal?

	If you just unset all keys in a directory, the directory should
dissappear. Look at how gconftool-2 --recursive-unset does it, for
example.

Cheers,
Mark.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.