Re: Old gconf keys (was: Tab width)

Michael Mauch <[email protected]>
Newsgroups gmane.comp.web.galeon.user
Message-ID <20050324182943.GA12444@elmicha.333200002251-0001.dialin.t-online.de>
Adam Hooper wrote:

> On Thu, 2005-24-03 at 10:32 +1100, Sridhar Dhanapalan wrote:
> > I don't think it would be difficult for an app like Galeon to have a script 
> > which removes all gconf keys which aren't in its list of 'currently used' 
> > keys. That should fix the problem.
> 
> Very easy. Just recursively go through the tree (using "gconftool
> -R /apps/galeon", for example), call "gconftool --get-schema-name
> [key_name]" on each key, and delete each for which it responds "No
> schema known...".

Hmm, are you sure that it should work that way?

# gconftool-2 --get-schema-name /apps/galeon/UI/Tabs/tabbed_shorten
/schemas/apps/galeon/UI/Tabs/tabbed_shorten
# gconftool-2 --get-schema-name /apps/galeon/UI/Tabs/tabbed_shorten_points
/schemas/apps/galeon/UI/Tabs/tabbed_shorten_points
# gconftool-2 --get-schema-name /apps/galeon/UI/Tabs/tabbed_vowel
/schemas/apps/galeon/UI/Tabs/tabbed_vowel

These keys all appear in "gconftool-2 -R /apps/galeon" here, but they
don't seem to work anymore.

> (By the way, if you do this and some *useful* keys get deleted, then I
> think that's a bug in Galeon since I believe, though I'm not sure, that
> all GConf entries are supposed to have an associated schema.)

Ok, I'll keep that in mind.

Regards...
		Michael
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCQwcXoNcTzNZ75u0RAujxAJ9GOfQhifHMRQidQRHr5wigntuN+gCfYvaZ
q4Au+Jcb0ghGDHRonkNS0aA=
=MpuQ
-----END PGP SIGNATURE-----
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.