+2006-02-22 Reiner Steib <Reiner.Steib@gmx.de>
+
+ * etc/images/gnus/mail_send.xpm: Emacs 21 icon for
+ message-tool-bar-retro.
+
2006-02-21 Reiner Steib <Reiner.Steib@gmx.de>
* make.bat (:etc): Also consider images in images/mail and
;;; Announce
(provide 'smime-card)
-
-;;; smime-card.el ends here
--- /dev/null
+/* XPM */
+static char *magick[] = {
+/* columns rows colors chars-per-pixel */
+"24 24 9 1",
+" c Gray0",
+". c #675e6580613e",
+"X c #8c8c7c7c6969",
+"o c #9b458d377822",
+"O c #a941a6459f3e",
+"+ c #c8c8b2b29898",
+"@ c #dadac2c2a5a5",
+"# c #eb4dea2fe4ad",
+"$ c None",
+/* pixels */
+"$$$$$$$$$$$$$$$$$$$$$$$$",
+"$$$$$$$$$$$$$$$$$$$$$$$$",
+"$$$$$$$$$$$$$ $$$$$$$",
+"$$$$$$$$ .@#+ $$$$$$",
+"$$$ .+#####@O $$$$$$",
+"$$ .+##########.+O $$$$$",
+"$$ @..########O.+# $$$$$",
+"$$ O@O..@#####.+## $$$$$",
+"$$$ ###+O.O##...##O $$$$",
+"$$$ @####@+..O#O.+# $$$$",
+"$$$ O####.#######.O $$$$",
+"$$$$ ###+O########.O $$$",
+"$$$$ ###.########@O $$$",
+"$$$$ +#+O#####@O $$$$$",
+"$$$$$ #.###@O $$$$$$",
+"$$$$$ .O@O $$ .. $$$$$",
+"$$$$$ .. $$$$ .oo. $$$$",
+"$$$$$$ $$$$$ oo $$$",
+"$$$$$$$$$$$$$$$ Oo $$$$$",
+"$$$$$$$$$$$$$$ oOOX $$$$",
+"$$$$$$$$$$$$$$ ++++ $$$$",
+"$$$$$$$$$$$$$ O@@@@O $$$",
+"$$$$$$$$$$$$$ $$$",
+"$$$$$$$$$$$$$$$$$$$$$$$$"
+};
+2006-02-22 Reiner Steib <Reiner.Steib@gmx.de>
+
+ * message.el: Autoload gmm-image-load-path.
+ (message-tool-bar-retro): Prepend "gnus/" subdirectory to some
+ icon file names. Use old Emacs 21 "mail_send.xpm" icon for
+ consitency.
+
+ * gmm-utils.el (gmm-image-load-path): Also search in
+ "../etc/images". Don't set gmm-image-load-path if we don't find
+ the image.
+
2006-02-22 Katsumi Yamaoka <yamaoka@jpl.org>
* gmm-utils.el (gmm-image-load-path): Don't make
(unless library (error "No library specified."))
(unless image (error "No image specified."))
(cond (gmm-image-load-path) ;; User setting exists.
- ((let (gmm-library-name) ;; Try relative setting
+ ((let (gmm-library-name d1ei d2ei)
+ ;; Try relative setting
;; First, find library in the load-path.
(setq gmm-library-name (locate-library library))
(if (not gmm-library-name)
(error "Cannot find library `%s' in load-path" library))
;; And then set gmm-image-load-path relative to that.
+ (setq
+ ;; Go down 2 levels...
+ d2ei (expand-file-name
+ (concat (file-name-directory gmm-library-name)
+ "../../etc/images"))
+ ;; Go down 1 level...
+ d1ei (expand-file-name
+ (concat (file-name-directory gmm-library-name)
+ "../etc/images")))
(setq gmm-image-load-path
- (expand-file-name (concat
- (file-name-directory gmm-library-name)
- "../../etc/images")))
- (file-exists-p (expand-file-name image gmm-image-load-path))))
+ ;; Set it to nil if image is not found...
+ (cond ((file-exists-p (expand-file-name image d2ei)) d2ei)
+ ((file-exists-p (expand-file-name image d1ei)) d1ei)))))
((let ((img image)
(dir (or
;; Images in image-load-path.
(autoload 'gnus-server-string "gnus")
(autoload 'idna-to-ascii "idna")
(autoload 'gmm-tool-bar-from-list "gmm-utils")
+ (autoload 'gmm-image-load-path "gmm-utils")
(autoload 'message-setup-toolbar "messagexmas")
(autoload 'mh-new-draft-name "mh-comp")
(autoload 'mh-send-letter "mh-comp")
:set 'message-tool-bar-update
:group 'message)
-;; The new icons are not yet committed, see
-;; http://thread.gmane.org/gmane.emacs.gnus.general/61719
(defcustom message-tool-bar-gnome
'((gmm-ignore "separator")
(message-send-and-exit "mail/send")
:group 'message)
(defcustom message-tool-bar-retro
- '((message-send-and-exit "mail/send")
+ '(;; Old Emacs 21 icon for consitency.
+ (message-send-and-exit "gnus/mail_send")
(message-kill-buffer "close")
(message-dont-send "cancel")
-;; (mml-attach-file "attach" mml-mode-map)
+ ;;(mml-attach-file "attach" mml-mode-map)
(ispell-message "spell")
-;; (mml-preview "preview" mml-mode-map)
- (message-insert-importance-high "important")
- (message-insert-importance-low "unimportant")
- (message-insert-disposition-notification-to "receipt"))
+ ;;(mml-preview "preview" mml-mode-map)
+ (message-insert-importance-high "gnus/important")
+ (message-insert-importance-low "gnus/unimportant")
+ (message-insert-disposition-notification-to "gnus/receipt"))
"List of items for the message tool bar (retro style).
See `gmm-tool-bar-from-list' for details on the format of the list."