Mercurial > emacs
diff src/xdisp.c @ 35361:1b5e3bc8ce89
* xdisp.c (build_desired_tool_bar_string): Use :conversion instead
of :algorithm.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 17 Jan 2001 13:14:45 +0000 |
parents | bc6d69d139c6 |
children | 4bdad7b6d6dc |
line wrap: on
line diff
--- a/src/xdisp.c Wed Jan 17 13:14:01 2001 +0000 +++ b/src/xdisp.c Wed Jan 17 13:14:45 2001 +0000 @@ -7187,7 +7187,7 @@ int enabled_p = !NILP (PROP (TOOL_BAR_ITEM_ENABLED_P)); int selected_p = !NILP (PROP (TOOL_BAR_ITEM_SELECTED_P)); int hmargin, vmargin, relief, idx, end; - extern Lisp_Object QCrelief, QCmargin, QCalgorithm, Qimage; + extern Lisp_Object QCrelief, QCmargin, QCconversion, Qimage; extern Lisp_Object Qlaplace; /* If image is a vector, choose the image according to the @@ -7277,7 +7277,7 @@ for the disabled state, make the image appear disabled by applying an appropriate algorithm to it. */ if (!enabled_p && idx < 0) - plist = Fplist_put (plist, QCalgorithm, Qdisabled); + plist = Fplist_put (plist, QCconversion, Qdisabled); /* Put a `display' text property on the string for the image to display. Put a `menu-item' property on the string that gives