From: "Jan Djärv" <jan.h.d@swipnet.se>
To: "Jan Djärv" <jan.h.d@swipnet.se>, ding@gnus.org, emacs-devel@gnu.org
Subject: Re: Gtk+ stock tool bar icons
Date: Sun, 30 Sep 2007 11:40:19 +0200 [thread overview]
Message-ID: <46FF6F03.1080509@swipnet.se> (raw)
In-Reply-To: <v94phdjlgj.fsf@marauder.physik.uni-ulm.de>
Reiner Steib skrev:
> On Sat, Sep 29 2007, Jan Djärv wrote:
>
>> Reiner Steib skrev:
>>> - Is (setq x-gtk-stock-map nil) the recommended way to disable themed
>>> icons? Shouldn't we provide this as a custom option (also in Emacs
>>> trunk) and mention it in NEWS? (BTW, the custom version should read
>>> 22.2 if we keep it in EMACS_22_BASE, shouldn't it?)
>> The custom version should indeed be 22.2, I've fixed that. If you think we
>> need another customize option to disable this, please feel free to add it.
>
> On a second thought: Maybe `icon-map-list' seems more suitable to
> disable it. How about making it `icon-map-list' customizable and
> improving the custom type of `x-gtk-stock-map' as follows?
Ok with me.
>
>>> - Is my patch [3] correct?
>> No, the files should be "images/mail/...".
>
> Are you saying without "etc/"? I did it exactly like the present
> elements:
Yes I know. But the document string says "file names without extension and
with two directory components". The reason for this is to avoid having to
search the image path first and then do the translation. Also, two is enough
to distinguish the default setup.
>
> ("etc/images/search" . "gtk-find")
> - ("etc/images/exit" . "gtk-quit"))
> + ("etc/images/exit" . "gtk-quit")
> + ;; Used in MH-E and/or Gnus:
> + ("etc/images/attach.xpm" . "gtk-attach")
> + ("etc/images/connect.xpm" . "gtk-connect")
>
> BTW, wouldn't it be better to strip "etc/images/" in the icon names
> for consistency with the specification of the icons e.g. in
> `tool-bar-add-item-from-menu' (cf. `image-load-path')?
>
I guess that would work also. I'll fix that.
Jan D.
next prev parent reply other threads:[~2007-09-30 9:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-29 13:45 Reiner Steib
2007-09-29 16:29 ` Jan Djärv
2007-09-29 19:55 ` Reiner Steib
2007-09-30 9:40 ` Jan Djärv [this message]
2007-09-30 11:25 ` Reiner Steib
2007-09-30 3:04 ` Richard Stallman
2007-09-30 9:41 ` Jan Djärv
2007-09-30 10:48 ` Reiner Steib
2007-10-01 1:36 ` Richard Stallman
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=46FF6F03.1080509@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).