Re: GSettings and profiles implementation

2011/1/28 Matthew Barnes <mbarnes redhat com>
On Fri, 2011-01-28 at 15:46 +0100, Javier Hernandez Antúnez wrote:
> Yes, I'm interested in details, so if you can share with me a
> diagram/workflow/anything, it will be awesome!

Replying off-list since this may veer off-topic for desktop-devel-list.

I've been chronicling my account management design for Evolution on the
evolution-hackers list.  Below are links to the most relevant posts.
These are earlier posts that talk about using GSettings.  Later I just
removed GSettings from the equation while keeping most of the public
facing APIs I had developed already.

What attracted me to GSettings initially was the ability to bind GObject
properties to individual values in the key file.  This design retains
that feature even after discarding GSettings.

So read these first and I'll be happy to clarify or summarize.

My initial post describes how I worked around the schema issue:

This post has an illustration of the class design:

API and schema details... probably too much information:

Ditching GSettings:

Finally, a recent snapshot of the code for reference.  Relevant files
are e-source*.[ch], particularly e-source.c and e-source-registry.c.

Hope this helps,

Matthew Barnes

Sorry, but during weekends i'm partially offline :S

Anyway, lot, lot, lot of thanks for your information, I'm thinking that I have some work to do this morning reviewing your stuff :)

Regardless of my final implementation, I'll share my solution for other people in this situation.


Javier Hernández Antúnez
Área de Operaciones

Emergya Consultoría
Tlfno: +34 954 51 75 77
Fax: +34 954 51 64 73

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