Info node `(elisp)Tool Bar'. Items are added from left to right.
ICON is the base name of a file containing the image to use. The
-function will first try to use lc-ICON.xpm if display-color-cells
+function will first try to use low-color/ICON.xpm if display-color-cells
is less or equal to 256, then ICON.xpm, then ICON.pbm, and finally
ICON.xbm, using `find-image'.
Info node `(elisp)Tool Bar'. Items are added from left to right.
ICON is the base name of a file containing the image to use. The
-function will first try to use lc-ICON.xpm if display-color-cells
+function will first try to use low-color/ICON.xpm if display-color-cells
is less or equal to 256, then ICON.xpm, then ICON.pbm, and finally
ICON.xbm, using `find-image'."
(let* ((fg (face-attribute 'tool-bar :foreground))
(xpm-spec (list :type 'xpm :file (concat icon ".xpm")))
(xpm-lo-spec (if (> (display-color-cells) 256)
nil
- (list :type 'xpm :file (concat "lc-" icon ".xpm"))))
- (pbm-spec (append (list :type 'pbm :file (concat icon ".pbm")) colors))
- (xbm-spec (append (list :type 'xbm :file (concat icon ".xbm")) colors))
+ (list :type 'xpm :file
+ (concat "low-color/" icon ".xpm"))))
+ (pbm-spec (append (list :type 'pbm :file
+ (concat icon ".pbm")) colors))
+ (xbm-spec (append (list :type 'xbm :file
+ (concat icon ".xbm")) colors))
(image (find-image
(if (display-color-p)
(list xpm-lo-spec xpm-spec pbm-spec xbm-spec)
(xpm-spec (list :type 'xpm :file (concat icon ".xpm")))
(xpm-lo-spec (if (> (display-color-cells) 256)
nil
- (list :type 'xpm :file (concat "lc-" icon ".xpm"))))
- (pbm-spec (append (list :type 'pbm :file (concat icon ".pbm")) colors))
- (xbm-spec (append (list :type 'xbm :file (concat icon ".xbm")) colors))
+ (list :type 'xpm :file
+ (concat "low-color/" icon ".xpm"))))
+ (pbm-spec (append (list :type 'pbm :file
+ (concat icon ".pbm")) colors))
+ (xbm-spec (append (list :type 'xbm :file
+ (concat icon ".xbm")) colors))
(spec (if (display-color-p)
(list xpm-lo-spec xpm-spec pbm-spec xbm-spec)
(list pbm-spec xbm-spec xpm-lo-spec xpm-spec)))
;; There's no icon appropriate for News and we need a command rather
;; than a lambda for Read Mail.
- ;;(tool-bar-add-item-from-menu 'compose-mail "mail_compose")
+ ;;(tool-bar-add-item-from-menu 'compose-mail "mail/compose")
(tool-bar-add-item-from-menu 'print-buffer "print")
(tool-bar-add-item "preferences" 'customize 'customize