From: Vincent van Ravesteijn Date: Fri, 15 May 2009 21:15:30 +0000 (+0000) Subject: Forgot these. X-Git-Tag: 2.0.0~6561 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a8682e3f5f31eb30f5c87cdebfb8ad0e92818626;p=lyx.git Forgot these. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29682 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index a14e76e188..faca0449ec 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -42,7 +42,7 @@ The following new LyX functions have been introduced: - LFUN_CHANGE_PREVIOUS ("change-previous"). -- LFUN_INSERT_LABEL_AS_REF ("insert-label-as-reference"). +- LFUN_LABEL_INSERT_AS_REF ("label-insert-as-reference"). - LFUN_SECTION_SELECT ("section-select"). diff --git a/lib/ui/stdcontext.inc b/lib/ui/stdcontext.inc index d3fc05a9f7..2e97b96a31 100644 --- a/lib/ui/stdcontext.inc +++ b/lib/ui/stdcontext.inc @@ -45,6 +45,7 @@ Menuset Separator OptItem "Equation Label|L" "label-insert" OptItem "Toggle Labeling/Numbering|T" "math-number-toggle" + OptItem "Copy as Reference|R" "copy-label-as-reference" Separator Item "Split Cell|C" "cell-split" Separator @@ -422,8 +423,8 @@ Menuset # Menu "context-toc-label" - OptItem "Copy Label as Reference|C" "copy-label-as-reference" - OptItem "Insert Reference at Cursor Position|I" "insert-label-as-reference" + OptItem "Copy as Reference|C" "copy-label-as-reference" + OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference" Separator Item "Settings...|S" "inset-settings" End diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 064fe1dc4c..5d6514f7fd 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -3270,11 +3270,11 @@ void LyXAction::init() /*! * \var lyx::FuncCode lyx::LFUN_LABEL_INSERT_AS_REF * \li Action: Inserts the label as a cross-reference at the position of the cursor. - * \li Syntax: insert-label-as-reference + * \li Syntax: label-insert-as-reference * \li Origin: vfr, 7 Apr 2009 * \endvar */ - { LFUN_LABEL_INSERT_AS_REF, "insert-label-as-reference", Noop, Edit}, + { LFUN_LABEL_INSERT_AS_REF, "label-insert-as-reference", Noop, Edit}, /*! * \var lyx::FuncCode lyx::LFUN_BUFFER_ZOOM_IN