r18617 - gnucash/trunk/util - Fix script to check for > 2.8 entries to remove
Geert Janssens
gjanssens at code.gnucash.org
Sat Feb 6 15:22:21 EST 2010
Author: gjanssens
Date: 2010-02-06 15:22:21 -0500 (Sat, 06 Feb 2010)
New Revision: 18617
Trac: http://svn.gnucash.org/trac/changeset/18617
Modified:
gnucash/trunk/util/glade-fixup
Log:
Fix script to check for > 2.8 entries to remove
The minimal Gtk+ requirement has been set to 2.8 recently. This script still removed glade
parameters that are valid in 2.8. This patch fixes that.
Modified: gnucash/trunk/util/glade-fixup
===================================================================
--- gnucash/trunk/util/glade-fixup 2010-02-06 16:02:15 UTC (rev 18616)
+++ gnucash/trunk/util/glade-fixup 2010-02-06 20:22:21 UTC (rev 18617)
@@ -1,7 +1,7 @@
#!/bin/sh
#
-# Remove entries that are for post-gtk2.6 attributes. Glade on a
-# gtk2.6 system will complain when unknown attributes are present on a
+# Remove entries that are for post-gtk2.8 attributes. Glade on a
+# gtk2.8 system will complain when unknown attributes are present on a
# widget.
#
# This script should be run from the top-level source directory before
@@ -15,9 +15,8 @@
fi
find ${SEARCHDIRS} -name \*.glade | xargs \
- sed -i -e '/name="urgency_hint"/d' \
- -e '/name="pack_direction"/d' \
- -e '/name="child_pack_direction"/d'
+ sed -i -e '/name="image_position"/d' \
+ -e '/name="inner_border"/d'
# GTK 2.6 (now allowed)
# add_tearoffs
@@ -29,11 +28,11 @@
# single_line_mode
# width_chars
#
-# GTK 2.8
+# GTK 2.8 (now allowed)
# child_pack_direction
# pack_direction
# urgency_hint
#
# GTK 2.10
-# (none)
-#
+# image_position
+# inner_border
More information about the gnucash-changes
mailing list