X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fui%2Fstdtoolbars.inc;h=2e6663a02cc4cd7a68f53f6c1b6309dd3b0df73e;hb=95da2707;hp=ddcff9d3d04ff4efb675e8f4b3f500d178e7e90d;hpb=12285354e080b364de7bf5a281c1742bd6f73df8;p=lyx.git diff --git a/lib/ui/stdtoolbars.inc b/lib/ui/stdtoolbars.inc index ddcff9d3d0..2e6663a02c 100644 --- a/lib/ui/stdtoolbars.inc +++ b/lib/ui/stdtoolbars.inc @@ -28,7 +28,7 @@ # # Toolbar "name" "GUI Name" # -# Only seven commands are allowed inside the Toolbar and End +# Only eight commands are allowed inside the Toolbar and End # directives: # Item "The tooltip" " []" adds an icon to the toolbar performing # " " @@ -37,9 +37,9 @@ # Item Emphasized set-emph # # BidiItem is like Item, but an alternative icon (with name ending -# with "+rtl") will be used rbracket). # -# All other lyx commands will get a "unknown" icon. +# Note that the lib/images/icon.aliases file can be used to specify +# fallback icons for some functions. +# +# All other LyX commands will get a "unknown" icon. # # This is the default toolbar: @@ -86,7 +89,7 @@ ToolbarSet Item "Cut" "cut" Item "Copy" "copy" DynamicMenu "paste" "Paste" - Item "Find and replace" "dialog-show findreplace" + Item "Find and replace" "dialog-toggle findreplace" Item "Find and replace (advanced)" "dialog-toggle findreplaceadv" Item "Navigate back" "bookmark-goto 0" Separator @@ -100,9 +103,9 @@ ToolbarSet DynamicMenu "dynamic-custom-insets" "Custom insets" Separator Item "Toggle outline" "dialog-toggle toc" - Item "Toggle math toolbar" "toolbar-toggle math" - Item "Toggle table toolbar" "toolbar-toggle table" - Item "Toggle review toolbar" "toolbar-toggle review" + PopupMenu "toolbar-toggle_math" "Show math toolbar" + PopupMenu "toolbar-toggle_table" "Show table toolbar" + PopupMenu "toolbar-toggle_review" "Show review toolbar" End Toolbar "view/update" "View/Update" @@ -164,9 +167,9 @@ ToolbarSet 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 "Toggle border lines" "tabular-feature toggle-border-lines" + Item "Toggle inner lines" "tabular-feature toggle-inner-lines" + Item "Toggle all lines" "tabular-feature toggle-all-lines" Item "Unset all lines" "tabular-feature unset-all-lines" Item "Reset formal default lines" "tabular-feature reset-formal-default" Separator @@ -209,7 +212,7 @@ ToolbarSet Item "Delete row" "tabular-feature delete-row" Item "Delete column" "tabular-feature delete-column" Separator - Item "Toggle math panels" "toolbar-toggle math_panels" + PopupMenu "toolbar-toggle_math_panels" "Show math panels" End Toolbar "math_panels" "Math Panels" @@ -297,6 +300,30 @@ ToolbarSet UpdateFormats End + Toolbar "toolbar-toggle_math" "Show math toolbar" + Item "[[Toolbar]]On" "toolbar-set math on" + Item "[[Toolbar]]Off" "toolbar-set math off" + Item "[[Toolbar]]Automatic" "toolbar-set math auto" + End + + Toolbar "toolbar-toggle_math_panels" "Show math panels" + Item "[[Toolbar]]On" "toolbar-set math_panels on" + Item "[[Toolbar]]Off" "toolbar-set math_panels off" + Item "[[Toolbar]]Automatic" "toolbar-set math_panels auto" + End + + Toolbar "toolbar-toggle_table" "Show table toolbar" + Item "[[Toolbar]]On" "toolbar-set table on" + Item "[[Toolbar]]Off" "toolbar-set table off" + Item "[[Toolbar]]Automatic" "toolbar-set table auto" + End + + Toolbar "toolbar-toggle_review" "Show review toolbar" + Item "[[Toolbar]]On" "toolbar-set review on" + Item "[[Toolbar]]Off" "toolbar-set review off" + Item "[[Toolbar]]Automatic" "toolbar-set review auto" + End + # The following three toolbars are disabled because of missing icons. # Toolbar "import/export" "Import/Export" # Item "Import" "buffer-import"