]> git.lyx.org Git - features.git/commitdiff
Abdel thinks we should just get rid of this.
authorRichard Heck <rgheck@comcast.net>
Tue, 14 Dec 2010 23:43:45 +0000 (23:43 +0000)
committerRichard Heck <rgheck@comcast.net>
Tue, 14 Dec 2010 23:43:45 +0000 (23:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36887 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetNote.cpp
src/insets/InsetNote.h

index 1ab8edd95ab6a369dcbc8a7859663df82679a5f4..24a8b82cba02a4d42ab2d2f862124edcee976992 100644 (file)
@@ -154,17 +154,6 @@ void InsetNote::read(Lexer & lex)
 }
 
 
-void InsetNote::setButtonLabel()
-{
-       docstring label = getLayout().labelstring();
-       if (label.empty())
-               label = notetranslator_loc().find(params_.type);
-       else
-               label = translateIfPossible(label);
-       setLabel(label);
-}
-
-
 bool InsetNote::showInsetDialog(BufferView * bv) const
 {
        bv->showDialog("note", params2string(params()),
index 4f9ecff3e5a98d56401c47f2ce29eb76f4ad5c28..8022113891166fecfa0afb3887da430393f0d79a 100644 (file)
@@ -78,8 +78,6 @@ private:
        void write(std::ostream &) const;
        ///
        void read(Lexer & lex);
-       ///
-       void setButtonLabel();
        /// show the note dialog
        bool showInsetDialog(BufferView * bv) const;
        ///