more library structure
Chris Shoemaker
c.shoemaker at cox.net
Wed Jan 25 14:58:40 EST 2006
On Mon, Jan 23, 2006 at 07:38:06PM -0500, Derek Atkins wrote:
> Chris Shoemaker <c.shoemaker at cox.net> writes:
>
> > 2) This could be a straight combination or a reshuffling along a
> > different boundary.
>
> > Any thoughts?
>
> Umm... I would say B, if that works. You MAY need to separate out the
> initialization into two parts, but that's okay. The distinction
> between gnome and gnome-utils is quite clear, although it's certainly
> possible that some files were put in the wrong place.
I think that gnc-main-window.c falls into this category -- belonging
in gnome instead of gnome-utils. Interestingly, one can arrive at
that conclusion without even knowing the intended distinction between
the two, becaue gnc-main-window.c indirectly (through scm_evals)
depends on global report state, even though gnome-utils isn't supposed
to depend on report-gnome.
> What you might want to do is have the first part, which is initialize
> the gnome libraries and gnome environment so we can put up the splash
> screen. And then have the second part which pulls up the main window.
> At least that's my back-of-the-napkin belief of what needs to happen.
>
> I think it's perfectly reasonable to restructure the initialization code.
I'm going to see how painful it is to move gnc-main-window and its
dependencies (e.g. gnc-plugin-manager) from gnome-utils into gnome.
-chris
More information about the gnucash-devel
mailing list