emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tool-bar changes (Was: Next release)


From: Chong Yidong
Subject: Tool-bar changes (Was: Next release)
Date: Thu, 08 May 2008 21:35:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> I've just installed a change in tool-bar.el which delays the call to
> find-image.  Instead of being called in tool-bar-setup, it's now called
> when looking up the tool-bar keymap.  This may also allow the toolbar
> to use different icons on different displays (e.g. some color, some b&w)
> in the same Emacs instance.

This change did Something Bad to the tool-bar on i686-pc-linux-gnu, GTK+
Version 2.12.9.  Only the Cut, Paste, Customize, and Help icons are now
displayed on the tool-bar; the other images are missing.

I didn't, however, try bootstrapping, only `make recompile' followed by
`make' (should a bootstrap be necessary?).

2008-05-07  Stefan Monnier  <address@hidden>

        * tool-bar.el: Choose images dynamically.
        (tool-bar-make-keymap, tool-bar-find-image): New function.
        (tool-bar-find-image-cache): New var.
        (tool-bar-local-item, tool-bar-local-item-from-menu):
        Don't select the image yet, do it later in tool-bar-make-keymap.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]