Re: [Planner Dev] Patch to add an abstraction layer between Planner and GConf
- From: "lincoln phipps openmutual net" <lincoln phipps openmutual net>
- To: Planner Project Manager - Development List <planner-dev lists imendio com>
- Subject: Re: [Planner Dev] Patch to add an abstraction layer between Planner and GConf
- Date: Tue, 10 Aug 2004 02:49:24 +0100
Mikael,
I was looking at how Gnumeric do this and they do similar
except they have a preferences structure which is all set in the
(planner)-conf and then just refer to that structure through the
rest of the program,
e.g. instead if
priv->highlight_critical = planner_conf_get_bool (CRITICAL_PATH_KEY,
NULL);
we do
priv->highlight_critical = planner-user-prefs->highlight_critical;
or similar, they wouldn't have to be the same names, though it would
be helpful. Basically keep the key details central and just refer to
the structure. Different views could have different preference
structures.
Rgds,
Lincoln.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]