Re: GSettings child schemas

2013-03-12 Thread Geert Janssens
Nobody can tell me why or when to use child schemas for accessing keys instead of simply using full schema id's ? How odd... Geert Op 01-03-13 13:55, Geert Janssens schreef: Hi Osmo, Thank you for your reply and reference to how you use GSettings. It is a nice example of how you can use chi

Re: GSettings child schemas

2013-03-01 Thread Geert Janssens
Hi Osmo, Thank you for your reply and reference to how you use GSettings. It is a nice example of how you can use child schemas. What it still does not show me though is *why* I would want to use it. Let me elaborate a bit on my confusion. Broadly speaking, to get to the value of a key, you

Re: GSettings child schemas

2013-03-01 Thread Osmo Antero
Hello, I will not answer to your question directly, but I have implemented GSettings schemas for my audio-recorder app. It may give you some tips. Please take a look at: http://bazaar.launchpad.net/~osmoma/audio-recorder/trunk/view/head:/src/dconf.c However, do take grated everything is correct and

GSettings child schemas

2013-03-01 Thread Geert Janssens
Hi, I'm working on replacing GConf with GSettings in the GnuCash application. I have read through the GSettings reference documentation and migration guide. With that I think I can mostly manage the conversion in the code. I'm unsure about the schema conversion though. I used gsettings-sche