Now when using inset-forall, "Graphics" can be used
to refer to all Graphics insets.
---
 src/insets/InsetGraphics.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/insets/InsetGraphics.h b/src/insets/InsetGraphics.h
index a6e6ce3..d29194a 100644
--- a/src/insets/InsetGraphics.h
+++ b/src/insets/InsetGraphics.h
@@ -87,6 +87,8 @@ private:
        /// returns LyX code associated with the inset. Used for TOC, ...)
        InsetCode lyxCode() const { return GRAPHICS_CODE; }
        /// Get the inset parameters, used by the GUIndependent dialog.
+       docstring layoutName() const { return from_ascii("Graphics"); }
+       ///
        InsetGraphicsParams const & params() const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
-- 
1.7.9.5

Reply via email to