a43545665712745235eb4bff962b30c51be3ed6b
[gnus] / etc / images / README
1 The following icons are from GNOME 2.6:
2
3     attach.xpm (stock_attach)
4     connect.xpm (stock_connect)
5     contact.xpm (stock_contact)
6     delete.xpm (stock_delete)
7     describe.xpm (stock_properties)
8     disconnect.xpm (stock_disconnect)
9     exit.xpm (stock_exit)
10     lock-broken.xpm (stock_lock_broken)
11     lock-ok.xpm (stock_lock_ok)
12     lock.xpm (stock_lock)
13     next-page.xpm (stock_next-page)
14     refresh.xpm (stock_refresh)
15     sort-ascending.xpm (stock_sort-ascending)
16     sort-column-ascending.xpm (stock_sort-column-ascending)
17     sort-criteria.xpm (stock_sort-criteria)
18     sort-descending.xpm (stock_sort-descending)
19     sort-row-ascending.xpm (stock_sort-row-ascending)
20
21     gnus/toggle-subscription.xpm (stock_task-recurring)
22
23     mail/compose.xpm (stock_mail-compose)
24     mail/copy.xpm (stock_mail-copy)
25     mail/forward.xpm (stock_mail-forward)
26     mail/inbox.xpm (stock_inbox)
27     mail/move.xpm (stock_mail-move)
28     mail/not-spam.xpm (stock_not-spam)
29     mail/outbox.xpm (stock_outbox)
30     mail/reply-all.xpm (stock_mail-reply-to-all)
31     mail/reply.xpm (stock_mail-reply)
32     mail/save-draft.xpm (stock_mail-handling)
33     mail/send.xpm (stock_mail-send)
34     mail/spam.xpm (stock_spam)
35
36
37 The following icons were contributed by Adam Sjøgren <asjo@koldfront.dk>:
38
39     mail/preview.xpm (combining stock_mail and stock_zoom)
40     mail/save.xpm    (combining stock_mail, stock_save and stock_convert) 
41
42
43 The folling icon are duplicated from Emacs 22.  They are either not present in
44 Emacs 21 or look different there.
45
46     cancel.xpm
47     close.xpm
48     copy.xpm
49     cut.xpm
50     diropen.xpm
51     help.xpm
52     home.xpm
53     index.xpm
54     jump-to.xpm
55     left-arrow.xpm
56     new.xpm
57     next-node.xpm
58     open.xpm
59     paste.xpm
60     preferences.xpm
61     prev-node.xpm
62     print.xpm
63     redo.xpm
64     right-arrow.xpm
65     save.xpm
66     saveas.xpm
67     search.xpm
68     separator.xpm
69     spell.xpm
70
71 You might want to use the following code to get Gnome icons in Emacs 21:
72
73   ;; Only for Emacs 21:
74   (when (and (not (featurep 'xemacs))
75            (not (boundp 'image-load-path))
76            tool-bar-mode)
77     (push "/path/to/etc/images/" image-load-path)
78     (setq tool-bar-map (make-sparse-keymap))
79     (clear-image-cache)
80     (tool-bar-setup))
81
82 The GNOME's stock_*.png files were converted to XPM using the following GIMP
83 script:
84
85 ;; -*- scheme -*-
86 ;; Put this file in ~/.gimp-*/scripts/
87 ;; gimp -i -b '(rs-save-as-xpm "foo.png" "foo.xpm" 127)'  '(gimp-quit 0)'
88 (define (rs-save-as-xpm filename filename2 threshold)
89   (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))
90          (drawable (car (gimp-image-get-active-layer image))))
91     (file-xpm-save RUN-NONINTERACTIVE image drawable
92                    filename2 filename2 threshold)
93     (gimp-image-delete image)))
94 ;; end