Re-save glade files from Glade 3, remove util/glade-fixup.

Glade 3 does not save properties with default values anymore.  This
reduces patch sizes when Glade-3/Gtk+ is used with varying versions and
also avoids warnings about properties unknown to older Gtk+ versions.

The version Glade 3 used is 3.4.5.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17966 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler
2009-03-01 19:13:14 +00:00
parent ea478541e9
commit 47ede669f2
56 changed files with 35944 additions and 57250 deletions

View File

@@ -1,39 +0,0 @@
#!/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
# widget.
#
# This script should be run from the top-level source directory before
# committing changed glade files.
#
if test -d src ; then
SEARCHDIRS=src
else
SEARCHDIRS=.
fi
find ${SEARCHDIRS} -name \*.glade | xargs \
sed -i -e '/name="urgency_hint"/d' \
-e '/name="pack_direction"/d' \
-e '/name="child_pack_direction"/d'
# GTK 2.6 (now allowed)
# add_tearoffs
# angle
# ellipsize
# focus_on_map
# hover_expand
# hover_selection
# single_line_mode
# width_chars
#
# GTK 2.8
# child_pack_direction
# pack_direction
# urgency_hint
#
# GTK 2.10
# (none)
#