1 (defvar gtk-torture-test-toolbar-open-active-p t)
3 (defvar gtk-torture-test-toolbar
6 (setq gtk-torture-test-toolbar-open-active-p (not gtk-torture-test-toolbar-open-active-p)))
7 gtk-torture-test-toolbar-open-active-p
8 "Dynamic enabled-p slot... broken in XEmacs 21.1.x"]
10 [toolbar-folder-icon toolbar-dired t "Edit a directory"]
12 [toolbar-news-icon toolbar-news t "Read news"]
14 [toolbar-info-icon toolbar-info t "Info documentation"]
17 (defun gtk-torture-test-toolbar ()
19 (switch-to-buffer (get-buffer-create "Toolbar testing"))
20 (set-specifier default-toolbar gtk-torture-test-toolbar (current-buffer))
21 (set-specifier default-toolbar-visible-p t (current-buffer)))