[Glade-users] Glade-2 and pango backwards compatibility



On Fri, 2005-12-16 at 08:41 +0100, Dick Eimers wrote:
First of, I don't know whether this is the correct group to complain
about this, but here I go.. 

I have noticed that Glade-2 introduces breaks backwards compatibility
(actually just resulting in annoying warnings) by adding xml-entries
with default values for attributes that where introduced in pango-1.8
but did not exist prior to 1.8 . 

{--

<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>-
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>

--}

Is this 'issue' being taken care of in Glade-3 or is this the pango
developers responsibility? (This, I think, depends on who takes care of
the xml-ization of pango object to xml)

If you need your app to work under older versions of GTK+/GNOME you
should use the appropriate version of Glade. From the README:

Compatable Versions:

  Glade 2.12.x - GNOME 2.12.x                   (GTK+ 2.8.x)
  Glade 2.10.x - GNOME 2.10.x                   (GTK+ 2.6.x)
  Glade 2.6.x  - GNOME 2.6.x/2.8.x              (GTK+ 2.4.x)
  Glade 2.0.x  - GNOME 2.0.x/2.2.x/2.4.x        (GTK+ 2.0.x/2.2.x)

Apps developed with one version of Glade/GTK+/GNOME should work on all
later versions.

Making apps work on previous versions of GTK+/GNOME would need a lot of
work tracking which properties are available in which versions. You
might want to add the feature request to the glade-3 product in
bugzilla, though I'm not sure if they'll do it.

Damon





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