[Gnucash-changes] r12218 - gnucash/trunk - New script that will
remove all post-gtk24 attributes from all glade
David Hampton
hampton at cvs.gnucash.org
Fri Dec 30 21:09:48 EST 2005
Author: hampton
Date: 2005-12-30 21:09:48 -0500 (Fri, 30 Dec 2005)
New Revision: 12218
Trac: http://svn.gnucash.org/trac/changeset/12218
Added:
gnucash/trunk/glade-fixup
Modified:
gnucash/trunk/ChangeLog
Log:
New script that will remove all post-gtk24 attributes from all glade
files under the 'src' directory.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2005-12-31 02:07:30 UTC (rev 12217)
+++ gnucash/trunk/ChangeLog 2005-12-31 02:09:48 UTC (rev 12218)
@@ -1,5 +1,8 @@
2005-12-30 David Hampton <hampton at 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.
Added: gnucash/trunk/glade-fixup
===================================================================
--- gnucash/trunk/glade-fixup 2005-12-31 02:07:30 UTC (rev 12217)
+++ gnucash/trunk/glade-fixup 2005-12-31 02:09:48 UTC (rev 12218)
@@ -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'
Property changes on: gnucash/trunk/glade-fixup
___________________________________________________________________
Name: svn:executable
+ *
More information about the gnucash-changes
mailing list