I created a bottom toolbar, put any amount of icons in it, and when I 
use the open icon on the built-in standard toolbar, the find-file dialog 
box now has a bottom toolbar as well.
And if you make a left or right toolbar or _even a top toolbar,_ the 
find-file dialog comes up with the same toolbars that you have defined.  
It is inheriting them, I guess.
The standard built-in toolbar at the top is the default toolbar, and it 
does not show up in a find-file dialog.
I'm asking if this is by design or just something wasn't looked at closely?
By happenstance, I duplicated the default menu with different icons as a 
new bottom toolbar for experimenting making icons.
The problem then is that from within the find-file dialog on the new 
bottom-toolbar you can press the open button, and open another copy of 
the find-file dialog, then, since it has an open button on it's bottom 
toolbar, you can open a third copy of the find-file dialog within that, 
and I suppose you can keep doing that...
If this was an intentional part of the design, under what circumstances 
would it be desirable to have toolbars inside a find-file dialog?
And if it is intentional, I would like to report a bug, that when 
closing the third find-file dialog, the second find-file dialog no 
longer displays your list of files on disk, it displays the contents of 
one of your buffers,  and then when closing the second find-file dialog 
box, the original find-file dialog box displays the contents of a 
different buffer. Like it is blindly executing a last-buffer command or 
when closing the buffer that has the list of files, it has to select a 
different buffer for the previous find-file dialog?
A sense of impending doom and specters of imminent crashes crept over 
me, and I closed all find-file dialog boxes and started a new copy of 
XEmacs.
How can I specify where a toolbar should show up?
    a specifier, if this is a dialog box, don't display?
    a tag predicate or a locale in a specifier?
    Can a locale be anywhere-but-dialog-boxes?
On the main (default) toolbar, I can click [open] to start a find-file 
dialog box, and then
click the [open] button again and open a second find-file dialog box.  
Do we ever need more than one find-file dialog open at a time?  If not, 
then a test in find-file dialog to see if it is already open would be a 
better place to prevent 2 open at once? Or simply gray-out the open 
button when it is in use?
Steve Mitchell
Below are the commands I was using to create the toolbar:
;--- first make a blank toolbar structure
(setq text-icons-toolbar (make-toolbar-specifier nil))
;--- define buttons to go on the toolbar
(setq text-icon-open     (toolbar-make-button-list "Open"))
(setq text-icon-dired    (toolbar-make-button-list "Dired"))
(setq text-icon-save     (toolbar-make-button-list "Save"))
  ;---add buttons to the new toolbar
(set-specifier text-icons-toolbar (cons (current-buffer) 
(toolbar-add-item (specifier-instance text-icons-toolbar)[text-icon-open 
toolbar-open       t "Open a file"])))
(set-specifier text-icons-toolbar (cons 'global (toolbar-add-item 
(specifier-instance text-icons-toolbar)[text-icon-dired 
toolbar-dired     t "Edit a directory"])))
(set-specifier text-icons-toolbar (cons 'global (toolbar-add-item 
(specifier-instance text-icons-toolbar)[text-icon-save 
toolbar-save       t "Save buffer"] )))
;--- copy text-icons-toolbar to bottom-toolbar
(copy-specifier text-icons-toolbar top-toolbar)
;--- next 2 lines have to both be run to make the toolbar visible
(set-specifier top-toolbar-visible-p t)    ; make the toolbar visible
(set-specifier top-toolbar-width 28 )     ; set the height of the 
toolbar to (non zero) pixels
;--- set the border width,
;---- i.e. the border around the outside of all the icons as a group, 
but not between them
(set-specifier top-toolbar-border-width 4) ; set the border width in pixels
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta