Re: storing 'config sets' in gconf



Hi,

Venkatakrishnan Kannan schrieb:
Hi Cyrille,
Thanks for the reply. I was actually wondering if the schema itself
provides for such dynamic paths. Now it is clear that
we have to do it without the schema. That clarifies.

You can't really define such dynamic keys (or groups of such keys) in the schema. But you can define a prototypical group of settings (e.g. all the settings required for one account) in the schema. It should even be possible to assign these schema keys to no real data key initially. When you insert an account you can link all the new settings to the corresponding schema keys. Settings for multiple accounts would share one set of schema entries. Of course this will cause some amount of extra work to support actions like moving an account to a diffent key.

You mentioned that there could be other issues in
maintaining such account info. It would be helpful if
you could let me know your concern.


None I can initially think of. YMMV

Ciao, Jörg




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