>>>>> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:

Herbert> where is the sense that an older version should read the
Herbert> files from the younger one? Do nothing and it should be okay

It helps users, and in this case it is pretty harmless. Here is the
patch I am going to commit. The nice thing about stable releases is
that you can add code in there that you will not have to live with
later %-]

JMarc

? development/Win32/Makefile
Index: src/insets/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/ChangeLog,v
retrieving revision 1.421.2.14
diff -u -p -r1.421.2.14 ChangeLog
--- src/insets/ChangeLog	19 Jul 2002 13:02:12 -0000	1.421.2.14
+++ src/insets/ChangeLog	23 Jul 2002 13:07:08 -0000
@@ -1,3 +1,9 @@
+2002-07-23  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
+
+	* insetgraphicsParams.C (Read): accept *size_kind as a synonym of
+	*size_type (this is a small harmless hack to allow reading
+	graphics insets from 1.3.0).
+
 2002-07-13  Dekel Tsur  <[EMAIL PROTECTED]>
 
 	* insettabular.C (edit): Move into correct cell when entering a
Index: src/insets/insetgraphicsParams.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetgraphicsParams.C,v
retrieving revision 1.36.2.3
diff -u -p -r1.36.2.3 insetgraphicsParams.C
--- src/insets/insetgraphicsParams.C	9 Jul 2002 14:55:04 -0000	1.36.2.3
+++ src/insets/insetgraphicsParams.C	23 Jul 2002 13:07:08 -0000
@@ -245,7 +245,7 @@ bool InsetGraphicsParams::Read(LyXLex & 
 		subcaptionText = lex.getString();
 	} else if (token == "noUnzip") {
 		noUnzip = true;
-	} else if (token == "size_type") {
+	} else if (token == "size_type" || token == "size_kind") {
 		lex.next();
 		switch (lex.getInteger()) {
 		case 0:
@@ -277,7 +277,7 @@ bool InsetGraphicsParams::Read(LyXLex & 
 	} else if (token == "rotateOrigin") {
 		lex.next();
 		rotateOrigin=lex.getString();
-	} else if (token == "lyxsize_type") {
+	} else if (token == "lyxsize_type" || token == "lyxsize_kind") {
 		lex.next();
 		switch (lex.getInteger()) {
 		case 0:

Reply via email to