submenu for Note/Comment/Greyedout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7446 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2003-07-30 11:39:36 +00:00
parent 469c5ed4c3
commit 1771dbf348
4 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
* ui/stdmenus.ui: submenu for Note/Comment/Greyedout
2003-07-29 Juergen Spitzmueller <j.spitzmueller@gmx.de> 2003-07-29 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* ui/stdmenus.ui: Insert->Special character/Special formatting * ui/stdmenus.ui: Insert->Special character/Special formatting

View File

@ -234,7 +234,7 @@ Menuset
Item "URL...|U" "url-insert" Item "URL...|U" "url-insert"
Item "Footnote|F" "footnote-insert" Item "Footnote|F" "footnote-insert"
Item "Marginal Note|M" "marginalnote-insert" Item "Marginal Note|M" "marginalnote-insert"
Item "Note|N" "note-insert" Submenu "Note|N" "insert_note"
Item "Minipage|p" "minipage-insert" Item "Minipage|p" "minipage-insert"
Item "Short Title" "optional-insert" Item "Short Title" "optional-insert"
Item "TeX|X" "ert-insert" Item "TeX|X" "ert-insert"
@ -325,6 +325,12 @@ Menuset
Item "Child Document...|d" "dialog-show-new-inset include" Item "Child Document...|d" "dialog-show-new-inset include"
End End
Menu "insert_note"
Item "Yellow Note" "note-insert Note"
Item "LaTeX Comment" "note-insert Comment"
Item "Greyed Out" "note-insert Greyedout"
End
# #
# DOCUMENT MENU # DOCUMENT MENU
# #

View File

@ -1,3 +1,7 @@
2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
* factory.C: submenu for Note/Comment/Greyedout
2003-07-29 Alfredo Braunstein <abraunst@libero.it> 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
* lyx_main.C (LyX): * lyx_main.C (LyX):
@ -7,7 +11,7 @@
2003-07-29 Martin Vermeer <martin.vermeer@hut.fi> 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
* LaTeXFeatures.C: * LaTeXFeatures.C:
* lay_sty.[Ch]:h: Implement a newenvironment in preamble for * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
greyedout. Patch provided by Jürgen Spitzmüller. greyedout. Patch provided by Jürgen Spitzmüller.
2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org> 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>

View File

@ -71,7 +71,7 @@ InsetOld * createInset(FuncRequest const & cmd)
return new InsetMinipage(params); return new InsetMinipage(params);
case LFUN_INSERT_NOTE: case LFUN_INSERT_NOTE:
return new InsetNote(params, "Note"); return new InsetNote(params, cmd.getArg(0));
case LFUN_INSET_ERT: case LFUN_INSET_ERT:
return new InsetERT(params); return new InsetERT(params);