New script that will remove all post-gtk24 attributes from all glade

files under the 'src' directory.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12218 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2005-12-31 02:09:48 +00:00
parent 4803be391d
commit ae57540e94
2 changed files with 19 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2005-12-30 David Hampton <hampton@employees.org>
* glade-fixup: New script that will remove all post-gtk24
attributes from all glade files under the 'src' directory.
* src/gnome/glade/register.glade: Fix the 'sort by number' and
'sort by statement date' choices in the register sort dialog.

16
glade-fixup Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
#
# Remove entries that are for post-gtk2.4 attributes. Glade on a
# gtk2.4 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.
#
find src -name \*.glade | xargs \
sed -i -e '/name="focus_on_map"/d' \
-e '/name="ellipsize"/d' \
-e '/name="width_chars"/d' \
-e '/name="single_line_mode"/d' \
-e '/name="angle"/d'