re-add ... to some menu entries

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5964 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-01-16 10:41:14 +00:00
parent 33a0673a5f
commit aead0b6f91
4 changed files with 21 additions and 11 deletions

View File

@ -1,3 +1,7 @@
2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ui/default.ui: re-add ellipsis on some menu entries
2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
* symbols: Fix \Box, \Diamond, \cong, and \surd.

View File

@ -40,7 +40,7 @@ Menuset
End
Menu "file_vc"
OptItem "Register|R" "vc-register"
OptItem "Register...|R" "vc-register"
OptItem "Check In Changes...|I" "vc-check-in"
OptItem "Check Out for Edit|O" "vc-check-out"
OptItem "Revert to Last Version|L" "vc-revert"
@ -75,13 +75,13 @@ Menuset
Submenu "Math|M" "edit_math"
Separator
#Item "Read Only" "buffer-toggle-read-only"
Item "Spellchecker|S" "spellchecker"
Item "Thesaurus" "thesaurus-entry"
Item "Spellchecker...|S" "spellchecker"
Item "Thesaurus..." "thesaurus-entry"
Item "Check TeX|h" "buffer-chktex"
Item "Remove All Error Boxes|E" "error-remove-all"
Item "Open/Close float|l" "inset-toggle"
Separator
Item "Preferences|P" "dialog-preferences"
Item "Preferences...|P" "dialog-preferences"
Item "Reconfigure|R" "reconfigure"
End
@ -200,7 +200,7 @@ Menuset
Item "Footnote|F" "footnote-insert"
Item "Marginal Note|M" "marginalnote-insert"
Item "Short Title" "optional-insert"
Item "Index Entry|I" "index-insert"
Item "Index Entry...|I" "index-insert"
Item "URL...|U" "url-insert"
Item "Note|N" "note-insert"
Submenu "Lists & TOC|O" "insert_toc"
@ -296,10 +296,10 @@ Menuset
# LAYOUT MENU
#
Menu "layout"
Item "Character|C" "layout-character"
Item "Paragraph|P" "layout-paragraph"
Item "Document|D" "layout-document"
OptItem "Tabular|T" "layout-tabular"
Item "Character...|C" "layout-character"
Item "Paragraph...|P" "layout-paragraph"
Item "Document...|D" "layout-document"
OptItem "Tabular...|T" "layout-tabular"
Separator
Item "Emphasize Style|E" "font-emph"
Item "Noun Style|N" "font-noun"
@ -308,7 +308,7 @@ Menuset
Separator
Item "Decrease Environment Depth|v" "depth-decrement"
Item "Increase Environment Depth|i" "depth-increment"
Item "Preamble|r" "layout-preamble"
Item "Preamble...|r" "layout-preamble"
Item "Start Appendix Here|S" "appendix"
End

View File

@ -1,3 +1,7 @@
2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* MenuBackend.C (expandFormats): add "..." to import formats.
2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
* paragraph.C (asString): Remove XForms RTL hacks.

View File

@ -373,11 +373,13 @@ void expandFormats(MenuItem::Kind kind, Menu & tomenu, Buffer const * buf)
if (label == "EPS" || label == "XPM" || label == "PNG")
continue;
if (kind == MenuItem::ImportFormats)
if (kind == MenuItem::ImportFormats) {
if ((*fit)->name() == "text")
label = _("ASCII text as lines");
else if ((*fit)->name() == "textparagraph")
label = _("ASCII text as paragraphs");
label += "...";
}
if (!(*fit)->shortcut().empty())
label += '|' + (*fit)->shortcut();
int const action2 = lyxaction.