Re: GnomeModule, libglade



On Tue, Oct 23, 2001 at 01:57:21PM -0400, jacob berkman wrote:
> so these libraries need to tell libglade which widgets they support,
> which can happen in the GnomeModule stuff i guess - except that like
> libgnomeui provides the GnomeModule for the canvas!  which seems totally
> broken.  

Actually GnomeModule is not for this, GnomeModule is for init of libs.

> the fact that things like gnome-vfs's version are hard coded in
> libgnomeui rather than coming from gnome-vfs is ludicrous at best.  it's
> too late to change this stuff for 2.0, but does anyone really feel
> confident in it?  or does it not really matter?

There is a FIXME about hardcoded versions, they should come from the lib.

> so anyway - does anyone have objections to putting the libglade support
> for things in the module where they come from (because i will actually
> do the work this time)?

I think it would make sense.  But I don't think involving GnomeModule is
neccessary.  GnomeModule can be used to init the glade support if needed,
though inits should be kept to a minimum.  The less init code we do, the less
code needs to be mapped to memory before the app can do it's work.

I think apps could provide glade support and libglade would do the libglade
support init for those modules, not gnome-program.  I think this would be the
simplest and sanest solution.  And if you don't use libglad you don't end up
initting a whole bunch of extra libs.

George



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