Mercurial > hg > xemacs-beta
annotate tests/gtk/xemacs-toolbar.el @ 2106:e0cad74058ab
[xemacs-hg @ 2004-05-31 23:41:30 by adrian]
xemacs-21.5: Handle xemacs_extra_name in xemacs.mak, improve copy
-------------------- ChangeLog entries follow: --------------------
nt/ChangeLog addition:
2004-06-01 Adrian Aichner <adrian@xemacs.org>
* xemacs.mak: Don't echo DEL command. Use COPYCMD everywhere.
Remove /r switch from COPY and COPYDIR, as environment variable
COPYCMD takes care of this.
* xemacs.mak (COPYCMD): New. Used to initialize environment
variable by same name.
* xemacs.mak (TEMACS_CPP_FLAGS_NO_CFLAGS): Handle
xemacs_extra_name (CVS date stamp).
author | adrian |
---|---|
date | Mon, 31 May 2004 23:41:30 +0000 |
parents | 0784d089fdc9 |
children | db7068430402 |
rev | line source |
---|---|
462 | 1 (defvar gtk-torture-test-toolbar-open-active-p t) |
2 | |
3 (defvar gtk-torture-test-toolbar | |
4 '([toolbar-file-icon | |
5 (lambda () | |
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"] | |
9 [:size 35 :style 3d] | |
10 [toolbar-folder-icon toolbar-dired t "Edit a directory"] | |
11 [:size 35 :style 2d] | |
12 [toolbar-news-icon toolbar-news t "Read news"] | |
13 nil | |
14 [toolbar-info-icon toolbar-info t "Info documentation"] | |
15 )) | |
16 | |
17 (defun gtk-torture-test-toolbar () | |
18 (interactive) | |
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))) |