Commit 7f8f1edc authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

*** empty log message ***

parent 14819cb3
2000-09-15 Gerd Moellmann <>
* toolbar/toolbar.el (toolbar-add-item): Use the same image
specification if or if not tool-bar item contains an `:enabled'
* menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
current buffer has no file name.
2000-09-15 Gerd Moellmann <>
* xfns.c (lookup_image): Build mask before applying an algorithm.
Recognize algorithm `disabled'.
(cross_disabled_images): New variable.
(x_detect_edges): Use COLOR_INTENSITY.
(x_disable_image): New function.
(syms_of_xfns): DEFVAR_BOOL cross_disabled_images.
* xdisp.c (build_desired_tool_bar_string): For a toolbar item in
disabled state, don't apply an image transformation algorithm if
the user specified an image for the disabled state. Use
`:algorthm disabled' for creating a disabled item's image if the
user hasn't specified an image.
* xfns.c (ALLOC_XPM_COLORS): Define if we can use Emacs' color
allocation functions with the XPM lib.
(struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment