From: Leo <sdl.web@gmail.com>
Subject: Re: Request for enhancement: support PNG icons in toolbar
Date: Thu, 18 Jan 2007 22:55:57 +0000 [thread overview]
Message-ID: <m28xg0x7uq.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: 1169151517.24488.17.camel@galahad
On 2007-01-18, Benjamin Hawkes-Lewis said:
> Currently, when libpng is available, Emacs has support for PNG. But it
> only searches for XBM, XPM, and PBM icons for its toolbar, even though
> PNG icons are considerably more attractive. I've written a patch for the
> tool-bar.el from Emacs CVS, which tests for PNG support before adding
> the PNG format to the search, facilitating a prettier Emacs toolbar.
>
> tool-bar-local-item-from-menu and tool-bar-local-item duplicated the
> image finding code, which I have moved for simplicity into a new,
> separate function tool-bar-find-best-icon.
>
> When editing the source I noticed it doesn't currently check whether
> support for the other image file types is present or not, but I didn't
> change this in case it was desired.
>
> ChangeLog, new tool-bar.el, and tool-bar.el.diff (vs. current CVS)
> attached.
>
> NB for testers. You must compile Emacs with the new tool-bar.el if you
> wish it to use it to load the main Emacs toolbar, since it is dumped
> into Emacs.
>
> If you're running X11 and you'd like some PNG icons to try with your
> Emacs, see:
>
> http://www.benjaminhawkeslewis.com/www/svn/emacs/themes/icons/
>
> which currently features a screen shot of the toolbar in its full
> PNG glory and some Ubuntu-themed icons. I haven't gotten round to
> adding icons for news modes and so on, but the toolbar will happily
> fall back to uglier icons.
Thank you very much. I have been looking for it ;)
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
next prev parent reply other threads:[~2007-01-18 22:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-18 20:18 Request for enhancement: support PNG icons in toolbar Benjamin Hawkes-Lewis
2007-01-18 22:55 ` Leo [this message]
2007-01-19 10:43 ` Richard Stallman
2007-12-01 9:45 ` Leo
-- strict thread matches above, loose matches on Subject: below --
2007-01-19 0:16 Benjamin Hawkes-Lewis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m28xg0x7uq.fsf@sl392.st-edmunds.cam.ac.uk \
--to=sdl.web@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.