]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.h
tex2lyx/text.cpp: fix typos
[lyx.git] / src / insets / InsetBranch.h
index 18600aeedf2e1c54c92a7b6d313f3c468282606c..6cc64ec8b28ec2b230d56b710047279f7306affe 100644 (file)
@@ -79,7 +79,7 @@ private:
        ///
        void validate(LaTeXFeatures &) const;
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        ///
        void addToToc(DocIterator const &) const;
        ///
@@ -109,7 +109,7 @@ private:
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
-       docstring name() const { return from_ascii("Branch"); }
+       docstring layoutName() const { return from_ascii("Branch:") + branch(); }
        ///
        Inset * clone() const { return new InsetBranch(*this); }