]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
Prettify the tooltip for footnotes.
[lyx.git] / src / insets / InsetGraphics.h
index d8ad8f8c713f5dd5868a9e0716d47797efd11350..d6ccfe2331ab6b42ddd4097f01b431d0029275c8 100644 (file)
@@ -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;
        ///
@@ -97,7 +99,7 @@ private:
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
-       void addToToc(DocIterator const &) const;
+       void addToToc(DocIterator const & di, bool output_active) const;
        ///
        std::string contextMenuName() const;
        /// Force inset into LTR environment if surroundings are RTL