gnucash/util/glade-fixup
Derek Atkins d86d61e227 Allow building from either SVN or SVK
- create gnc-svnversion script that builds the revision number
  from either SVN or SVK.  The script should fail gracefully if
  you don't have SVK installed
- convert the configure script to use the new gnc-svnversion script
- convert the splash-screen Makefile to use the gnc-svnversions script

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14427 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-24 18:34:35 +00:00

27 lines
725 B
Bash
Executable File

#!/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.
#
if test -d src ; then
SEARCHDIRS=src
else
SEARCHDIRS=.
fi
find ${SEARCHDIRS} -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="urgency_hint"/d' \
-e '/name="hover_expand"/d' \
-e '/name="hover_selection"/d' \
-e '/name="add_tearoffs"/d' \
-e '/name="angle"/d'