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> 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
* symbols: Fix \Box, \Diamond, \cong, and \surd. * symbols: Fix \Box, \Diamond, \cong, and \surd.

View File

@ -40,7 +40,7 @@ Menuset
End End
Menu "file_vc" Menu "file_vc"
OptItem "Register|R" "vc-register" OptItem "Register...|R" "vc-register"
OptItem "Check In Changes...|I" "vc-check-in" OptItem "Check In Changes...|I" "vc-check-in"
OptItem "Check Out for Edit|O" "vc-check-out" OptItem "Check Out for Edit|O" "vc-check-out"
OptItem "Revert to Last Version|L" "vc-revert" OptItem "Revert to Last Version|L" "vc-revert"
@ -75,13 +75,13 @@ Menuset
Submenu "Math|M" "edit_math" Submenu "Math|M" "edit_math"
Separator Separator
#Item "Read Only" "buffer-toggle-read-only" #Item "Read Only" "buffer-toggle-read-only"
Item "Spellchecker|S" "spellchecker" Item "Spellchecker...|S" "spellchecker"
Item "Thesaurus" "thesaurus-entry" Item "Thesaurus..." "thesaurus-entry"
Item "Check TeX|h" "buffer-chktex" Item "Check TeX|h" "buffer-chktex"
Item "Remove All Error Boxes|E" "error-remove-all" Item "Remove All Error Boxes|E" "error-remove-all"
Item "Open/Close float|l" "inset-toggle" Item "Open/Close float|l" "inset-toggle"
Separator Separator
Item "Preferences|P" "dialog-preferences" Item "Preferences...|P" "dialog-preferences"
Item "Reconfigure|R" "reconfigure" Item "Reconfigure|R" "reconfigure"
End End
@ -200,7 +200,7 @@ Menuset
Item "Footnote|F" "footnote-insert" Item "Footnote|F" "footnote-insert"
Item "Marginal Note|M" "marginalnote-insert" Item "Marginal Note|M" "marginalnote-insert"
Item "Short Title" "optional-insert" Item "Short Title" "optional-insert"
Item "Index Entry|I" "index-insert" Item "Index Entry...|I" "index-insert"
Item "URL...|U" "url-insert" Item "URL...|U" "url-insert"
Item "Note|N" "note-insert" Item "Note|N" "note-insert"
Submenu "Lists & TOC|O" "insert_toc" Submenu "Lists & TOC|O" "insert_toc"
@ -296,10 +296,10 @@ Menuset
# LAYOUT MENU # LAYOUT MENU
# #
Menu "layout" Menu "layout"
Item "Character|C" "layout-character" Item "Character...|C" "layout-character"
Item "Paragraph|P" "layout-paragraph" Item "Paragraph...|P" "layout-paragraph"
Item "Document|D" "layout-document" Item "Document...|D" "layout-document"
OptItem "Tabular|T" "layout-tabular" OptItem "Tabular...|T" "layout-tabular"
Separator Separator
Item "Emphasize Style|E" "font-emph" Item "Emphasize Style|E" "font-emph"
Item "Noun Style|N" "font-noun" Item "Noun Style|N" "font-noun"
@ -308,7 +308,7 @@ Menuset
Separator Separator
Item "Decrease Environment Depth|v" "depth-decrement" Item "Decrease Environment Depth|v" "depth-decrement"
Item "Increase Environment Depth|i" "depth-increment" Item "Increase Environment Depth|i" "depth-increment"
Item "Preamble|r" "layout-preamble" Item "Preamble...|r" "layout-preamble"
Item "Start Appendix Here|S" "appendix" Item "Start Appendix Here|S" "appendix"
End 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> 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
* paragraph.C (asString): Remove XForms RTL hacks. * 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") if (label == "EPS" || label == "XPM" || label == "PNG")
continue; continue;
if (kind == MenuItem::ImportFormats) if (kind == MenuItem::ImportFormats) {
if ((*fit)->name() == "text") if ((*fit)->name() == "text")
label = _("ASCII text as lines"); label = _("ASCII text as lines");
else if ((*fit)->name() == "textparagraph") else if ((*fit)->name() == "textparagraph")
label = _("ASCII text as paragraphs"); label = _("ASCII text as paragraphs");
label += "...";
}
if (!(*fit)->shortcut().empty()) if (!(*fit)->shortcut().empty())
label += '|' + (*fit)->shortcut(); label += '|' + (*fit)->shortcut();
int const action2 = lyxaction. int const action2 = lyxaction.