From 8831e4a11f53dabc9022913ee0026420f7b7ec6a Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Fri, 22 Mar 2013 15:09:59 -0400 Subject: [PATCH] InsetGraphics: add a layoutName method 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 a6e6ce3381..d6ccfe2331 100644 --- a/src/insets/InsetGraphics.h +++ b/src/insets/InsetGraphics.h @@ -86,6 +86,8 @@ private: void validate(LaTeXFeatures & features) const; /// returns LyX code associated with the inset. Used for TOC, ...) InsetCode lyxCode() const { return GRAPHICS_CODE; } + /// + docstring layoutName() const { return from_ascii("Graphics"); } /// Get the inset parameters, used by the GUIndependent dialog. InsetGraphicsParams const & params() const; /// -- 2.39.2