[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tool bar icons not updated according to :active condition
From: |
Chong Yidong |
Subject: |
Re: tool bar icons not updated according to :active condition |
Date: |
Fri, 24 Feb 2006 10:23:38 -0500 |
> 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.
- Re: tool bar icons not updated according to :active condition,
Chong Yidong <=