On Thu, Aug 30, 2007 at 02:22:04PM -0500, Bo Peng wrote: > > I will remove that small feature though, because embedding status will > > be lost if a file without any embedded file is reopened. This can > > upset the user if s/he insert a figure later and expect it to be > > embedded. > > Updated patch attached. This time, embedding will always result in a > zipped file. > > OK to apply? > Bo
> Index: src/insets/InsetGraphics.h > =================================================================== > --- src/insets/InsetGraphics.h (revision 19920) > +++ src/insets/InsetGraphics.h (working copy) > @@ -78,6 +78,8 @@ > void editGraphics(InsetGraphicsParams const &, Buffer const &) const; > /// > bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const; > + /// all graphics can be embedded > + void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &, > ParConstIterator const &) const; [Max 80 - \epsilon chars per line please.] I'd let it in on the condition that already once did not work: If the feature is known to be broken before 1.6 release it will be deactivated. Andre'