>>  > I am not sure whether it is a good idea to add all the buttons to the
>>  > standard toolbar.
>>
>> Attached is a screenshot how this would look. This has the advantage that
>> we can use the existsing free space behind the existing standard toolbar
>> buttons.
>
> And the huge disadvantage that you cannot just disable it at once. And that it
> is not freely positionable (remember, not everybody has the same screen
> resolution).

OK, can the attached patch go in?
(I noticed that the patch does only work when I change the toolbar name from "view" to something different, why?)

Btw. do we have other positions for the toolbars than "top" and "bottom"; I mean something like "left" and "right"?

regards Uwe

Index: default.ui
===================================================================
--- default.ui	(revision 16739)
+++ default.ui	(working copy)
@@ -35,6 +35,7 @@
 	"standard" "on,top"
 	"extra" "on,top"
 	"review" "review,top"
+	"view" "on,top"
 	"table" "table,bottom"
 	"math" "math,bottom"
 	"minibuffer" "off,bottom"
Index: stdtoolbars.inc
===================================================================
--- stdtoolbars.inc	(revision 16739)
+++ stdtoolbars.inc	(working copy)
@@ -162,3 +162,12 @@
 	Item "Insert note" "note-insert"
 	Item "Next note" "note-next"
 End
+
+Toolbar "view" "View document"
+	Item "View DVI output" "buffer-view dvi"
+	Item "Update DVI output" "buffer-update dvi"
+	Item "View PDF (pdflatex)" "buffer-view pdf2"
+	Item "Update PDF (pdflatex)" "buffer-update pdf2"
+	Item "View PostScript" "buffer-view ps"
+	Item "Update PostScript" "buffer-update ps"
+End

Reply via email to