[Top][All Lists]

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

Re: SVG/PNG images in toolbars?

From: Clément Pit-Claudel
Subject: Re: SVG/PNG images in toolbars?
Date: Sat, 14 Oct 2017 00:49:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 2017-10-13 18:11, Eli Zaretskii wrote:
>> From: Clément Pit-Claudel <address@hidden>
>> Date: Fri, 13 Oct 2017 17:07:23 +0200
>> Additionally, I noticed that emacs -Q on my machine seems to ignore the 
>> find-image specs of toolbar-mode-map for the default tool bar (that is, 
>> running find-image with the specs found in tool-bar-map yields something 
>> like (image :type xpm :file 
>> "/usr/local/share/emacs/26.0.50/etc/images/refresh.xpm"), but that image 
>> looks nothing like the one actually displayed).  strace-ing Emacs suggests 
>> that this is because of `x-gtk-stock-map`.
> If your build uses GTK, then by default the toolbar comes from GTK as
> well, not from Emacs.

Thanks! But I don't follow. What do you mean?
I can add items to that default toolbar using `tool-bar-add-item`; but I only 
seem to be able to add low-quality icons to it (XPM images), or icons from my 
GTK theme — I don't seem to be able to add arbitrary PNGs.


reply via email to

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