From: nickrob@snap.net.nz (Nick Roberts)
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: GTK tool bar icons in Emacs
Date: Fri, 17 Jul 2009 15:04:52 +1200 [thread overview]
Message-ID: <19039.59988.509429.157601@totara.tehura.co.nz> (raw)
In-Reply-To: <4A5EFB76.6010402@swipnet.se>
Jan Djärv writes:
>
>
> Nick Roberts skrev:
> > I would like to use the GTK record/stop icons in Emacs. In GTK Emacs, at
> > times, the custom icons appear somehow to be replaced by GTK ones. Could
> > someone please explain how this works in basic terms.
>
> Can you narrow down what you did when the icons where replaced? Note that
> many major modes replaces the tool bar, maybe you stubled upon that?
I noticed that, for example the the button gud-goto-info used a gtk icon
("gtk-info") even though the "info" icon was specified in gud.el. It's
not a problem, I just wanted to use new ones "gtk-media-record" and
"gtk-media-stop" for a new feature of GDB 7.0 (reversible debugging).
> If you need to replace some standard icons, customizing x-gtk-stock-map should
> to the trick (apart from bugs of course).
Yes, following Yidong's suggestion, I've done that and it seems to work - thanks.
> > Also GTK apps, e.g., FireFox often allow names to appear in text below the icons.
> > (View-> Toolbars-> Customize...). Is it possible to do this in GTK Emacs?
> >
>
> The code is not hard to do, the problem is that for icons there doesn't exist
> any short name, only the help text is available. The text used for the name
> is ofthen too long (for example, "Visit new file..."), and the tool bar
> becomes very wide.
It would be nice to make Emacs more of a GTK app (fonts don't appear to change
with System->Appearance->Fonts->Application font on Ubuntu) but since Emacs
must run on a wide range of platforms that might not be possible.
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2009-07-17 3:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 0:14 GTK tool bar icons in Emacs Nick Roberts
2009-07-16 1:13 ` Chong Yidong
2009-07-16 10:05 ` Jan Djärv
2009-07-17 3:04 ` Nick Roberts [this message]
2009-07-17 3:28 ` Miles Bader
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=19039.59988.509429.157601@totara.tehura.co.nz \
--to=nickrob@snap.net.nz \
--cc=emacs-devel@gnu.org \
--cc=jan.h.d@swipnet.se \
/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.