X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fui%2Fstdtoolbars.inc;h=2c7ad20b459272a2e708ba53b9f8ed487e501801;hb=dd60e2d9f4bdf091d38590f83546147610eca9a1;hp=3cabda3fff991ac7518e3db6277d7ef407239c24;hpb=584b83d33c50a8bd88e1baae9b6d4dcbadcf0b82;p=lyx.git diff --git a/lib/ui/stdtoolbars.inc b/lib/ui/stdtoolbars.inc index 3cabda3fff..2c7ad20b45 100644 --- a/lib/ui/stdtoolbars.inc +++ b/lib/ui/stdtoolbars.inc @@ -62,7 +62,7 @@ # # This is the default toolbar: -Format 4 +Format 5 ToolbarSet @@ -79,18 +79,19 @@ ToolbarSet Item "Redo" "redo" Item "Cut" "cut" Item "Copy" "copy" - Item "Paste" "paste" + DynamicMenu "paste" "Paste" Item "Find and replace" "dialog-show findreplace" Item "Find and replace (advanced)" "dialog-toggle findreplaceadv" Item "Navigate back" "bookmark-goto 0" Separator Item "Toggle emphasis" "font-emph" Item "Toggle noun" "font-noun" - Item "Apply last" "textstyle-apply" + DynamicMenu "dynamic-char-styles" "Custom text styles" Separator Item "Insert math" "math-mode on" Item "Insert graphics" "dialog-show-new-inset graphics" TableInsert "Insert table" + DynamicMenu "dynamic-custom-insets" "Custom insets" Separator Item "Toggle outline" "dialog-toggle toc" Item "Toggle math toolbar" "toolbar-toggle math" @@ -112,12 +113,20 @@ ToolbarSet Toolbar "extra" "Extra" Item "Default" "layout" - Item "Numbered list" "layout Enumerate" - Item "Itemized list" "layout Itemize" - Item "List" "layout List" - Item "Description" "layout Description" - Item "Increase depth" "depth-increment" - Item "Decrease depth" "depth-decrement" + # The bidi function is used here to select a different + # icon depending on the direction of the current text. + Item "Numbered list" "bidi ltr layout-toggle Enumerate" + Item "Numbered list" "bidi rtl layout-toggle Enumerate" + Item "Itemized list" "bidi ltr layout-toggle Itemize" + Item "Itemized list" "bidi rtl layout-toggle Itemize" + Item "List" "bidi ltr layout-toggle List" + Item "List" "bidi rtl layout-toggle List" + Item "Description" "bidi ltr layout-toggle Description" + Item "Description" "bidi rtl layout-toggle Description" + Item "Increase depth" "bidi ltr depth-increment" + Item "Increase depth" "bidi rtl depth-increment" + Item "Decrease depth" "bidi ltr depth-decrement" + Item "Decrease depth" "bidi rtl depth-decrement" Separator Item "Insert figure float" "float-insert figure" Item "Insert table float" "float-insert table" @@ -136,7 +145,8 @@ ToolbarSet Item "Insert math macro" "math-macro newmacroname newcommand" Item "Include file" "dialog-show-new-inset include" Separator - Item "Text style" "dialog-show character" + Item "Text properties" "dialog-show character" + DynamicMenu "textstyle-apply" "Apply recent text properties" Item "Paragraph settings" "layout-paragraph" Item "Thesaurus" "thesaurus-entry" End @@ -151,13 +161,15 @@ ToolbarSet Item "Move row down" "tabular-feature move-row-down" Item "Move column right" "tabular-feature move-column-right" Separator - Item "Set top line" "tabular-feature toggle-line-top" - Item "Set bottom line" "tabular-feature toggle-line-bottom" - Item "Set left line" "tabular-feature toggle-line-left" - Item "Set right line" "tabular-feature toggle-line-right" + Item "Toggle top line" "tabular-feature toggle-line-top" + Item "Toggle bottom line" "tabular-feature toggle-line-bottom" + Item "Toggle left line" "tabular-feature toggle-line-left" + Item "Toggle right line" "tabular-feature toggle-line-right" Item "Set border lines" "tabular-feature set-border-lines" Item "Set all lines" "tabular-feature set-all-lines" + Item "Set inner lines" "tabular-feature set-inner-lines" Item "Unset all lines" "tabular-feature unset-all-lines" + Item "Reset formal default lines" "tabular-feature reset-formal-default" Separator Item "Align left" "command-alternatives tabular-feature m-align-left;tabular-feature align-left" Item "Align center" "command-alternatives tabular-feature m-align-center;tabular-feature align-center" @@ -288,7 +300,7 @@ ToolbarSet Item "Revert changes" "vc-revert" Item "Compare with older revision" "vc-compare" Item "Compare with last revision" "vc-compare 0" - Item "Insert Version Info" "info-insert buffer vcs-revision" + Item "Insert Version Info" "info-insert vcs revision" Separator Item "Use SVN file locking property" "vc-locking-toggle" Separator