[Glade-users] Toolbar buttons don't appear

Damon Chaplin damon at karuna.uklinux.net
Wed Jun 15 17:06:56 EDT 2005


On Wed, 2005-06-15 at 15:27 -0300, John Coppens wrote:
> On Wed, 15 Jun 2005 17:01:41 +0100
> Damon Chaplin <damon at karuna.uklinux.net> wrote:
> 
> > > I have Glade 2.0.1 installed, but updated GTK+ to 2.6.7 since its
> > > installation. Could there be an incompatibility between newer GTK
> > > versions and 2.0.1?
> > 
> > Yes, that's the problem. Toolbars changed a lot in GTK+ 2.4, and you
> > need a newer version of Glade.
> > 
> > Compatible Versions:
> > 
> >   Glade 2.10.x - GTK+ 2.6.x and GNOME 2.10.x.
> >   Glade 2.6.x  - GTK+ 2.4.x and GNOME 2.6.x/GNOME 2.8.x.
> >   Glade 2.0.x  - GTK+ 2.0.x/2.2.x and GNOME 2.0.x/2.2.x/2.4.x.
> >   Glade 0.6.4  - GTK+ 1.2.x and GNOME 1.4.x.
> > 
> > Damon
> 
> Thanks, Damon.
> 
> So, if I install glade2 2.6, I have to force the users of programs of
> mine to upgrade too. If I don't, I can't use toolbars, or can't even
> update older programs unless I downgrade gtk+. Not a very elegant
> situation, is it?

Basically you need to develop your app using the lowest 2.x GTK+ version
you want to support. It should then work on all the later GTK+ versions
as well, as they are backwards compatible.



> I'm no expert - but is there no way to have both versions live together?
> Can I find more info on this?

You can build/install different versions into different places. You then
need to change a few environment variables like PATH & LD_LIBRARY_PATH
so that they pick up the desired GTK+ version first.
(The jhbuild GNOME build system does this.)


> BTW:
> 
> >   Glade 2.10.x - GTK+ 2.6.x and GNOME 2.10.x.
> >   Glade 2.6.x  - GTK+ 2.4.x and GNOME 2.6.x/GNOME 2.8.x.
> 
> I suppose 2.10.x does 2.8.x too?

It should do. Though I may do a new Glade release if I add support for
any new features.

Damon




More information about the Glade-users mailing list