From: Pavel Sanda Date: Wed, 5 Mar 2008 08:58:58 +0000 (+0000) Subject: Remove the rest of LFUN_THEOREM_INSERT. X-Git-Tag: 1.6.10~5873 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=701367b4c52e34b0a2b5daf78b9a48c9771b0d94;p=lyx.git Remove the rest of LFUN_THEOREM_INSERT. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23471 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index e48bd169ee..ca5b1c60b2 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -388,7 +388,6 @@ void LyXAction::init() #if 0 { LFUN_LIST_INSERT, "list-insert", Noop, Edit }, - { LFUN_THEOREM_INSERT, "theorem-insert", Noop, Edit }, #endif { LFUN_DELETE_BACKWARD_SKIP, "delete-backward-skip", Noop, Edit }, diff --git a/src/Text3.cpp b/src/Text3.cpp index d978e3f6e7..52f0e0dda6 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1335,7 +1335,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) } #if 0 case LFUN_LIST_INSERT: - case LFUN_THEOREM_INSERT: #endif case LFUN_CAPTION_INSERT: case LFUN_FOOTNOTE_INSERT: @@ -1926,9 +1925,6 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd, case LFUN_LIST_INSERT: code = LIST_CODE; break; - case LFUN_THEOREM_INSERT: - code = THEOREM_CODE; - break; #endif case LFUN_CAPTION_INSERT: code = CAPTION_CODE;