]> git.lyx.org Git - lyx.git/commitdiff
quick shot at designer 4.3 -> 4.2 conversion.
authorAndré Pönitz <poenitz@gmx.net>
Mon, 10 Mar 2008 18:31:14 +0000 (18:31 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Mon, 10 Mar 2008 18:31:14 +0000 (18:31 +0000)
Usage: perl -i designer43to42  <the_ui_file_you_want_to_fix>

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23645 a592a061-630c-0410-9148-cb99ea01b6c8

development/tools/designer43to42 [new file with mode: 0644]

diff --git a/development/tools/designer43to42 b/development/tools/designer43to42
new file mode 100644 (file)
index 0000000..5b388dc
--- /dev/null
@@ -0,0 +1,7 @@
+#!/usr/bin/perl -w
+
+while (<>) {
+       s/property name=\"(top|left|right|bottom)Margin\"/property name=\"margin\"/;
+       s/property name=\"(horizont|vertic)Spacing\"/property name=\"spacing\"/;
+       print;
+}