emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tool bar icons not updated according to :active condition


From: Reiner Steib
Subject: Re: tool bar icons not updated according to :active condition
Date: Wed, 08 Mar 2006 15:36:26 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Sat, Mar 04 2006, Kim F. Storm wrote:

> Reiner Steib <address@hidden> writes:
[...]
>> The tool bar icons are not updated according to the :active condition.
>> I'm including the original report below.
>
> I wonder if you could use the `point-entered' and `point-left' hooks
> on the relevant intervals/overlays in the Gnus summary buffer to
> handle this specific case? 
>
> They should run a hook which calls force-window-update if tool-bar
> mode is enabled.

Thanks for your suggestion.  I just checked in such a fix in Emacs CVS
(and Gnus v5-10 branch).  Feel free to improve it: I'm not sure if my
approach is the most simple one.

As Emacs 21 doesn't have `force-window-update', I used `redraw-frame'
there and set the default value of `gnus-group-update-tool-bar' to nil
in Emacs 21.  Is there a better way for Emacs 21?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]