hi, i tried to mimic the way how View/Update toolbar is done (see attached). menu item for added toolbar is checked but nothing new in toolbar, toggling does nothing.
i couldn't grep a single place in our source which deal with view/update, so i i tried to rename "view/update" to "veew/update" and the toolbar got hidden too. ok, i renamed it back to view/update and it remains lost, no way back! :) do you have an idea whats goin on? do we store such info somewhere? pavel
diff --git a/lib/ui/default.ui b/lib/ui/default.ui index 3cb14ec..9688b0e 100644 --- a/lib/ui/default.ui +++ b/lib/ui/default.ui @@ -44,6 +44,7 @@ Toolbars "view/update" "on,top" "extra" "on,top" "review" "auto,review,top" + "vcs" "off,top" "table" "auto,table,bottom" "math_panels" "auto,math,bottom" "math" "auto,math,bottom" diff --git a/lib/ui/stdtoolbars.inc b/lib/ui/stdtoolbars.inc index 3448f11..b9694ac 100644 --- a/lib/ui/stdtoolbars.inc +++ b/lib/ui/stdtoolbars.inc @@ -210,6 +210,14 @@ ToolbarSet Item "Update PostScript" "buffer-update ps" End + Toolbar "vcs" "Version Control" + Item "Register" "vc-register" + Item "Check-out for edit" "vc-check-out" + Item "Check-in changes" "vc-check-in" + Item "View revision log" "dialog-show vc-log" + Item "Revert changes" "vc-revert" + End + Toolbar "math_panels" "Math Panels" PopupMenu "space" "Math Spacings" PopupMenu "style" "Styles"