X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fui%2Fstdcontext.inc;h=58d2d40f9419ad40372f04471e9896dc819a6373;hb=25fce652fb31c938346aab25d72705e93ab95dad;hp=c2f0d07c0b66c0564c0f3756fa5d4f892e96a9bf;hpb=5c796730b2aa4ebd1dd0f202b8203814ea803a04;p=lyx.git diff --git a/lib/ui/stdcontext.inc b/lib/ui/stdcontext.inc index c2f0d07c0b..58d2d40f94 100644 --- a/lib/ui/stdcontext.inc +++ b/lib/ui/stdcontext.inc @@ -19,7 +19,7 @@ # (except when the preposition is part of a verb phrase, such as "Check In") # (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en) -Format 2 +Format 5 Menuset @@ -29,10 +29,10 @@ Menuset Menu "insert_math_context" Item "Array Environment|y" "math-matrix 2 2" Item "Cases Environment|C" "math-insert \cases" - Item "Aligned Environment|l" "command-sequence math-insert \aligned; inset-modify tabular append-column" - Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; inset-modify tabular append-column" + Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column" + Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column" Item "Gathered Environment|h" "math-insert \gathered" - Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular append-column" + Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column" Separator Item "Delimiters...|r" "dialog-show mathdelimiter" Item "Matrix...|x" "dialog-show mathmatrix" @@ -62,15 +62,17 @@ Menuset Separator Submenu "Insert|s" "insert_math_context" Separator - OptItem "Add Line Above|o" "inset-modify tabular add-hline-above" - OptItem "Add Line Below|B" "inset-modify tabular add-hline-below" - OptItem "Delete Line Above|v" "inset-modify tabular delete-hline-above" - OptItem "Delete Line Below|w" "inset-modify tabular delete-hline-below" + OptSubmenu "Rows & Columns| " "edit_tabular_features" Separator - OptItem "Add Line to Left" "inset-modify tabular add-vline-left" - OptItem "Add Line to Right" "inset-modify tabular add-vline-right" - OptItem "Delete Line to Left" "inset-modify tabular delete-vline-left" - OptItem "Delete Line to Right" "inset-modify tabular delete-vline-right" + OptItem "Add Line Above|o" "tabular-feature add-hline-above" + OptItem "Add Line Below|B" "tabular-feature add-hline-below" + OptItem "Delete Line Above|v" "tabular-feature delete-hline-above" + OptItem "Delete Line Below|w" "tabular-feature delete-hline-below" + Separator + OptItem "Add Line to Left" "tabular-feature add-vline-left" + OptItem "Add Line to Right" "tabular-feature add-vline-right" + OptItem "Delete Line to Left" "tabular-feature delete-vline-left" + OptItem "Delete Line to Right" "tabular-feature delete-vline-right" Separator Item "Show Math Toolbar" "toolbar-toggle math toggle" Item "Show Math-Panels Toolbar" "toolbar-toggle math_panels toggle" @@ -94,6 +96,11 @@ Menuset Item " on Page |f" "inset-modify changetype vref" Item "Formatted Reference|t" "inset-modify changetype formatted" Item "Textual Reference|x" "inset-modify changetype nameref" + Item "Label Only|L" "inset-modify changetype labelonly" + Separator + OptItem "Plural|a" "inset-modify ref toggle-plural" + OptItem "Capitalize|C" "inset-modify ref toggle-caps" + Item "No Prefix" "inset-modify ref toggle-noprefix" Separator Item "Settings...|S" "inset-settings" End @@ -138,9 +145,9 @@ Menuset End # -# InsetCollapsable context menu +# InsetCollapsible context menu # - Menu "context-collapsable" + Menu "context-collapsible" OptItem "Open Inset|O" "inset-toggle open" OptItem "Close Inset|C" "inset-toggle close" Separator @@ -158,10 +165,18 @@ Menuset # # InsetArgument context menu # + Menu "context-argument" + Separator SwitchArguments End + Menu "context-argument-conglomerate" + Item "Show Label|L" "inset-toggle" + Item "Dissolve Inset|D" "inset-dissolve" + Separator + SwitchArguments + End # # InsetBox context menu @@ -210,6 +225,14 @@ Menuset Item "Vertical Phantom|V" "inset-modify phantom Phantom VPhantom" End + +# +# InsetQuotes context menu +# + Menu "context-quote" + SwitchQuotes + End + # # InsetSpace context menu # @@ -315,6 +338,9 @@ Menuset Menu "context-edit" spellingsuggestions Separator + OptItem "Edit Externally..." "inset-edit" + OptItem "End Editing Externally..." "inset-end-edit" + Separator Item "Cut" "cut" Item "Copy" "copy" Item "Paste" "paste" @@ -326,7 +352,7 @@ Menuset Item "Move Paragraph Up|o" "paragraph-move-up" Item "Move Paragraph Down|v" "paragraph-move-down" Separator - EnvironmentSeparators + EnvironmentSeparatorsContext Separator OptItem "Promote Section|r" "outline-out" OptItem "Demote Section|m" "outline-in" @@ -338,9 +364,10 @@ Menuset OptItem "Accept Change|c" "change-accept" OptItem "Reject Change|j" "change-reject" Separator - Item "Apply Last Text Style|A" "textstyle-apply" - Submenu "Text Style|x" "edit_textstyles" + Submenu "Text Properties|x" "edit_textprops" + OptSubmenu "Custom Text Styles|S" "edit_textstyles" Item "Paragraph Settings...|P" "layout-paragraph" + OptItem "Unify Graphics Groups|U" "graphics-unify" LanguageSelector Separator Item "Fullscreen Mode" "ui-toggle fullscreen" @@ -406,75 +433,60 @@ Menuset # Menu "table-borders" - Item "Top|T" "inset-modify tabular toggle-line-top" - Item "Bottom|B" "inset-modify tabular toggle-line-bottom" - Item "Left|L" "inset-modify tabular toggle-line-left" - Item "Right|R" "inset-modify tabular toggle-line-right" + Item "Top|T" "tabular-feature toggle-line-top" + Item "Bottom|B" "tabular-feature toggle-line-bottom" + Item "Left|L" "tabular-feature toggle-line-left" + Item "Right|R" "tabular-feature toggle-line-right" + OptItem "Reset Formal Defaults|F" "tabular-feature reset-formal-default" End - + Menu "table-alignment" - Item "Left|f" "command-alternatives inset-modify tabular m-align-left;inset-modify tabular align-left" - Item "Center|C" "command-alternatives inset-modify tabular m-align-center;inset-modify tabular align-center" - Item "Right|h" "command-alternatives inset-modify tabular m-align-right;inset-modify tabular align-right" - Item "Decimal" "inset-modify tabular align-decimal" + Item "Left|f" "command-alternatives tabular-feature m-align-left;tabular-feature align-left" + Item "Center|C" "command-alternatives tabular-feature m-align-center;tabular-feature align-center" + Item "Right|h" "command-alternatives tabular-feature m-align-right;tabular-feature align-right" + Item "Decimal" "tabular-feature align-decimal" Separator - Item "Top" "inset-modify tabular valign-top" - Item "Middle" "inset-modify tabular valign-middle" - Item "Bottom" "inset-modify tabular valign-bottom" + Item "Top" "tabular-feature valign-top" + Item "Middle" "tabular-feature valign-middle" + Item "Bottom" "tabular-feature valign-bottom" End - + Menu "table-cols-rows" - Item "Multicolumn|u" "inset-modify tabular multicolumn" - Item "Multirow|w" "inset-modify tabular multirow" + Item "Multicolumn|u" "tabular-feature multicolumn" + Item "Multirow|w" "tabular-feature multirow" Separator - Item "Append Row|A" "inset-modify tabular append-row" - Item "Delete Row|D" "inset-modify tabular delete-row" - Item "Copy Row|o" "inset-modify tabular copy-row" - Item "Move Row Up" "inset-modify tabular move-row-up" - Item "Move Row Down" "inset-modify tabular move-row-down" + Item "Append Row|A" "tabular-feature append-row" + Item "Delete Row|D" "tabular-feature delete-row" + Item "Copy Row|o" "tabular-feature copy-row" + Item "Move Row Up" "tabular-feature move-row-up" + Item "Move Row Down" "tabular-feature move-row-down" Separator - Item "Append Column|p" "inset-modify tabular append-column" - Item "Delete Column|e" "inset-modify tabular delete-column" - Item "Copy Column|y" "inset-modify tabular copy-column" - Item "Move Column Right|v" "inset-modify tabular move-column-right" - Item "Move Column Left" "inset-modify tabular move-column-left" + Item "Append Column|p" "tabular-feature append-column" + Item "Delete Column|e" "tabular-feature delete-column" + Item "Copy Column|y" "tabular-feature copy-column" + Item "Move Column Right|v" "tabular-feature move-column-right" + Item "Move Column Left" "tabular-feature move-column-left" End - + Menu "context-tabular" - Item "Normal Table|g" "inset-modify tabular unset-longtabular" - Item "Multi-page Table|g" "inset-modify tabular set-longtabular" - Separator - Item "Default Style|m" "inset-modify tabular unset-booktabs" - Item "Formal Style|m" "inset-modify tabular set-booktabs" + Item "Multi-page Table|g" "tabular-feature toggle-longtabular" + Item "Formal Style|m" "tabular-feature toggle-booktabs" Separator Submenu "Borders|d" "table-borders" Submenu "Alignment|i" "table-alignment" Submenu "Columns/Rows|C" "table-cols-rows" Separator - Item "Settings Dialog...|S" "inset-settings tabular" + Item "Settings...|S" "inset-settings tabular" End # # InsetInfo context menu # - Menu "buffer-info" - Item "File|F" "inset-modify buffer name" - Item "Path|P" "inset-modify buffer path" - Item "Class|C" "inset-modify buffer class" - Separator - Item "File Revision|R" "inset-modify buffer vcs-revision" - Item "Tree Revision|T" "inset-modify buffer vcs-tree-revision" - Item "Revision Author|A" "inset-modify buffer vcs-author" - Item "Revision Date|D" "inset-modify buffer vcs-date" - Item "Revision Time|i" "inset-modify buffer vcs-time" - Separator - Item "LyX Version|X" "inset-modify lyxinfo version" - End - Menu "context-info" - Submenu "Document Info|D" "buffer-info" + InfoArguments Separator + Item "Transform Field to Static Text|T" "inset-dissolve" Item "Copy Text|o" "inset-copy-as" Item "Settings...|S" "inset-settings info" End @@ -488,6 +500,7 @@ Menuset OptItem "Deactivate Branch|e" "branch-deactivate" OptItem "Activate Branch in Master|M" "branch-master-activate" OptItem "Deactivate Branch in Master|v" "branch-master-deactivate" + OptItem "Invert Inset|I" "branch-invert" OptItem "Add Unknown Branch|w" "branch-add" End @@ -653,4 +666,19 @@ Menuset Item "Settings...|S" "inset-settings" End +# +# Toolbar context menu +# + Menu "context-toolbars" + Toolbars + Separator + Item "Lock Toolbars|L" "toolbar-movable *" + Separator + Item "Small-sized Icons" "icon-size small" + Item "Normal-sized Icons" "icon-size normal" + Item "Big-sized Icons" "icon-size big" + Item "Huge-sized Icons" "icon-size huge" + Item "Giant-sized Icons" "icon-size giant" + End + End