From 0264dd05b0212a3a578837f6b95c4aa9a1e41966 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Sat, 5 Jan 2008 04:44:41 +0000 Subject: [PATCH] Embedding: temporarily disable embedding for include and external insets (focusing on graphics) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22375 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetExternal.cpp | 3 ++- src/insets/InsetInclude.cpp | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/insets/InsetExternal.cpp b/src/insets/InsetExternal.cpp index f7f5595ceb..bb86ea0264 100644 --- a/src/insets/InsetExternal.cpp +++ b/src/insets/InsetExternal.cpp @@ -489,7 +489,8 @@ bool InsetExternal::getStatus(Cursor & cur, FuncRequest const & cmd, void InsetExternal::registerEmbeddedFiles(Buffer const &, EmbeddedFiles & files) const { - files.registerFile(params_.filename.absFilename(), false, this); + // temporarily disable embedding for this inset + /* files.registerFile(params_.filename, this); */ } diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index 42a61077fc..e0036aa5a0 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -890,9 +890,11 @@ void InsetInclude::registerEmbeddedFiles(Buffer const & buffer, EmbeddedFiles & files) const { // include and input are temprarily not considered. + /* if (isVerbatim(params()) || isListings(params())) files.registerFile(includedFilename(buffer, params()).absFilename(), false, this); + */ } } // namespace lyx