unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: tool bar icons not updated according to :active condition
Date: Fri, 24 Feb 2006 10:23:38 -0500	[thread overview]
Message-ID: <873bi8ok5h.fsf@stupidchicken.com> (raw)

> In `gnus-group-make-tool-bar' the describe-group entry is also added
> to the tool bar (icon: etc/images/gnus/describe-group.xpm):
>
>   (tool-bar-add-item-from-menu
>     'gnus-group-describe-group "describe-group" gnus-group-mode-map)
>
> But after moving up/down in the group buffer (C-p/C-n), the icon is
> not updated (enabled/disabled) when changing from a group to a topic
> line and vice versa.
>
> After `C-l' (or after `redraw-frame' [3]), the correct icon is
> displayed.  A workaround could be to redraw the frame after every
> point-motion (is there a after-point-motion-hook?).

You could use post-command-hook.

         reply	other threads:[~2006-02-24 15:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-23 18:59 tool bar icons not updated according to :active condition Reiner Steib
2006-02-24 15:23 ` Chong Yidong [this message]
2006-02-25  9:31   ` Reiner Steib
2006-02-25 23:30     ` Kim F. Storm
2006-02-26 19:39       ` Reiner Steib
2006-02-27  9:04         ` Kim F. Storm
2006-03-02 19:20           ` Reiner Steib
2006-03-05  0:58             ` Richard Stallman
2006-03-05 14:51               ` Reiner Steib
2006-03-05 20:55                 ` Stefan Monnier
2006-03-05 21:57                   ` Reiner Steib
2006-02-26 12:15     ` Reiner Steib
2006-02-26 14:28       ` Chong Yidong
2006-02-27 19:02       ` Richard Stallman
2006-02-28 14:53         ` Reiner Steib
2006-03-04 22:25           ` Kim F. Storm
2006-03-08 14:36             ` Reiner Steib
2006-02-28 14:59         ` Chong Yidong
2006-02-28 15:06           ` Reiner Steib
2006-03-01 17:55           ` Richard Stallman
2006-03-04 15:14             ` Chong Yidong

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873bi8ok5h.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).