Glade urgency_hint property
andi5.py at gmx.net
Tue Feb 12 03:23:26 EST 2008
Am Dienstag, den 12.02.2008, 13:37 +0900 schrieb Ian Lewis:
> I recently created a patch for a bug which contains a modification to a
> glade xml file. I changed the glade file by using the glade editor and it
> added some 'urgency_hint' elements and a some last_modification_time
> attributes. I figured glade had it's stuff together and this wouldn't
> present any issues but Charles Day brought it up and there seems to be some
> instances in SVN where these attributes were removed deliberately.
> Is this a problem in term of backwards compatibility in some way? If so, is
> there a way to tell glade to respect backwards compatibility and not add
> these attributes? Editing the glade files by hand is a pain and seems like
> it partially defeats the purpose of using glade.
yes, currently GnuCash 2.2.x and trunk depend on gtk+ >= 2.6.0, so
libglade would complain each time it fails to set a gtk+-2.8-only
property on a gtk+-2.6 widget. That is why it is recommended to run
util/glade-fixup, a script to remove some property lines, before
committing a glade file or sending in a patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080212/2a855ed6/attachment.bin
More information about the gnucash-devel