X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fui%2Fstdcontext.inc;h=3b583d76b62e62c7193f3790b961d28886d6c337;hb=e2f2e1319180ae66e97633d8a141a7ef8e61a6e2;hp=1e0bbb1131eccdd3f328e2b2b70a825877754f84;hpb=47db764ccce139eceee5bcaf47e58173f765682d;p=lyx.git diff --git a/lib/ui/stdcontext.inc b/lib/ui/stdcontext.inc index 1e0bbb1131..3b583d76b6 100644 --- a/lib/ui/stdcontext.inc +++ b/lib/ui/stdcontext.inc @@ -9,7 +9,7 @@ # Full author contact details are available in file CREDITS. # The interface is designed (partially) following the KDE Human Interface -# Guidelines (http://usability.kde.org/hig/) +# Guidelines (http://techbase.kde.org/Projects/Usability/HIG) # Casing Rules: # Capitalize all words in the element, with the following exceptions: @@ -19,6 +19,8 @@ # (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 1 + Menuset # @@ -26,11 +28,11 @@ Menuset # Menu "insert_math_context" Item "Array Environment|y" "math-matrix 2 2" - Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases" - Item "Aligned Environment|l" "command-sequence math-mode on; math-insert \aligned; inset-modify tabular append-column" - Item "AlignedAt Environment|v" "command-sequence math-mode on; math-insert \alignedat; inset-modify tabular append-column" - Item "Gathered Environment|h" "command-sequence math-mode on; math-insert \gathered" - Item "Split Environment|S" "command-sequence math-mode on; math-insert \split; inset-modify tabular append-column" + 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 "Gathered Environment|h" "math-insert \gathered" + Item "Split Environment|S" "command-sequence math-insert \split; inset-modify tabular append-column" Separator Item "Delimiters...|r" "dialog-show mathdelimiter" Item "Matrix...|x" "dialog-show mathmatrix" @@ -90,9 +92,8 @@ Menuset Item "|P" "inset-modify changetype pageref" Item "On Page |O" "inset-modify changetype vpageref" Item " on Page |f" "inset-modify changetype vref" - Item "Formatted Reference|t" "inset-modify changetype prettyref" + Item "Formatted Reference|t" "inset-modify changetype formatted" Item "Textual Reference|x" "inset-modify changetype nameref" - Item "Textual Reference plus |l" "inset-modify changetype Nameref" Separator Item "Settings...|S" "inset-settings" End @@ -129,6 +130,12 @@ Menuset Item "Edit Database(s) Externally...|x" "inset-edit" End +# +# InsetBibItem context menu +# + Menu "context-bibitem" + Item "Settings...|S" "inset-settings" + End # # InsetCollapsable context menu @@ -161,12 +168,6 @@ Menuset Item "Drop Shadow|w" "inset-modify changetype Shadowbox" Item "Shaded Background|B" "inset-modify changetype Shaded" Item "Double Frame|u" "inset-modify changetype Doublebox" - Separator - OptItem "Open Inset|O" "inset-toggle open" - OptItem "Close Inset|C" "inset-toggle close" - Separator - Item "Dissolve Inset|D" "inset-dissolve" - Item "Settings...|S" "inset-settings box" End # @@ -178,13 +179,8 @@ Menuset Item "Comment|m" "inset-modify note Note Comment" Item "Greyed Out|G" "inset-modify note Note Greyedout" Separator - OptItem "Open Inset|O" "inset-toggle open" - OptItem "Close Inset|C" "inset-toggle close" - Separator Item "Open All Notes|A" "inset-forall Note inset-toggle open" Item "Close All Notes|l" "inset-forall Note inset-toggle close" - Separator - Item "Dissolve Inset|D" "inset-dissolve" End # @@ -192,11 +188,9 @@ Menuset # Menu "context-phantom" - Item "Phantom" "inset-modify phantom Phantom Phantom" - Item "Horiz. Phantom" "inset-modify phantom Phantom HPhantom" - Item "Vert. Phantom" "inset-modify phantom Phantom VPhantom" - Separator - Item "Dissolve Inset|D" "inset-dissolve" + Item "Phantom|P" "inset-modify phantom Phantom Phantom" + Item "Horizontal Phantom|H" "inset-modify phantom Phantom HPhantom" + Item "Vertical Phantom|V" "inset-modify phantom Phantom VPhantom" End # @@ -205,6 +199,7 @@ Menuset Menu "context-space" Item "Interword Space|w" "inset-modify space \space{}" Item "Protected Space|o" "inset-modify space ~" + Item "Visible Space|a" "inset-modify space \textvisiblespace{}" Item "Thin Space|T" "inset-modify space \thinspace{}" Item "Negative Thin Space|N" "inset-modify space \negthinspace{}" Item "Half Quad Space (Enskip)|k" "inset-modify space \enskip{}" @@ -311,7 +306,7 @@ Menuset OptItem "Move Section Down|D" "outline-down" OptItem "Move Section Up|U" "outline-up" OptItem "Insert Short Title|T" "argument-insert" - OptSubMenu "Insert Regular Expression..." "context-edit-regexp" + OptSubmenu "Insert Regular Expression" "context-edit-regexp" Separator OptItem "Accept Change|c" "change-accept" OptItem "Reject Change|j" "change-reject" @@ -355,23 +350,6 @@ Menuset Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param" End -# -# InsetListing context menu -# - - Menu "context-listings" - Item "Cut" "cut" - Item "Copy" "copy" - Item "Paste" "paste" - Submenu "Paste Recent|e" "edit_pasterecent" - Separator - OptItem "Open Inset|O" "inset-toggle open" - OptItem "Close Inset|C" "inset-toggle close" - Separator - Item "Dissolve Inset|D" "inset-dissolve" - Item "Settings...|S" "inset-settings listings" - End - # # InsetGraphics context menu # @@ -400,30 +378,31 @@ Menuset # Menu "context-tabular" - Item "Multicolumn|M" "inset-modify tabular multicolumn" - Item "Multirow|i" "inset-modify tabular multirow" + Item "Multicolumn|u" "inset-modify tabular multicolumn" + Item "Multirow|w" "inset-modify tabular multirow" Separator - Item "Top Line|T" "inset-modify tabular toggle-line-top" - Item "Bottom Line|B" "inset-modify tabular toggle-line-bottom" + Item "Top Line|n" "inset-modify tabular toggle-line-top" + Item "Bottom Line|i" "inset-modify tabular toggle-line-bottom" Item "Left Line|L" "inset-modify tabular toggle-line-left" Item "Right Line|R" "inset-modify tabular toggle-line-right" Separator - Item "Left|f" "inset-modify tabular align-left" - Item "Center|C" "inset-modify tabular align-center" - Item "Right|h" "inset-modify tabular align-right" + 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" Separator Item "Top|T" "inset-modify tabular valign-top" - Item "Middle|d" "inset-modify tabular valign-middle" + Item "Middle|M" "inset-modify tabular valign-middle" Item "Bottom|B" "inset-modify tabular valign-bottom" Separator - Item "Add Row|A" "inset-modify tabular append-row" + 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 "Swap Rows|S" "inset-modify tabular swap-row" # currently broken Separator - Item "Add Column|u" "inset-modify tabular append-column" + Item "Append Column|p" "inset-modify tabular append-column" Item "Delete Column|e" "inset-modify tabular delete-column" - Item "Copy Column|p" "inset-modify tabular copy-column" + Item "Copy Column|y" "inset-modify tabular copy-column" # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken Separator Item "Settings...|g" "inset-settings tabular" @@ -447,11 +426,6 @@ Menuset Item "LyX Version|X" "inset-modify lyxinfo version" End - -# -# InsetInfo context menu -# - Menu "context-info" Submenu "Document Info|D" "buffer-info" Separator @@ -464,14 +438,8 @@ Menuset # Menu "context-branch" - OptItem "Open Inset|O" "inset-toggle open" - OptItem "Close Inset|C" "inset-toggle close" - Separator OptItem "Activate Branch|A" "branch-activate" OptItem "Deactivate Branch|e" "branch-deactivate" - Separator - Item "Dissolve Inset|D" "inset-dissolve" - OptItem "Settings...|S" "inset-settings" End # @@ -567,13 +535,6 @@ Menuset Menu "context-index" IndicesContext - Separator - OptItem "Open Inset|O" "inset-toggle open" - OptItem "Close Inset|C" "inset-toggle close" - Separator - Item "Dissolve Inset|D" "inset-dissolve" - Separator - OptItem "Settings...|S" "inset-settings" End # @@ -632,13 +593,15 @@ Menuset # InsetERT context menu # Menu "context-ert" - OptItem "Open Inset|O" "inset-toggle open" - OptItem "Close Inset|C" "inset-toggle close" - Separator - Item "Wrap by Preview|P" "command-sequence inset-begin;char-backward;char-forward-select;preview-insert" - Separator - Item "Dissolve Inset|D" "inset-dissolve" - OptItem "Settings...|S" "inset-settings" + # repeat 1 is added as a work-around to not indicate this action as toggable + Item "Wrap by Preview|P" "command-sequence repeat 1;inset-toggle;char-forward;char-backward;char-forward-select;preview-insert;char-backward;char-backward;inset-toggle" + End + +# +# InsetHyperlink context menu +# + Menu "context-hyperlink" + Item "Settings...|S" "inset-settings" End End