From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: tool bar icons not updated according to :active condition Date: Fri, 24 Feb 2006 10:23:38 -0500 Message-ID: <873bi8ok5h.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140836943 29160 80.91.229.2 (25 Feb 2006 03:09:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2006 03:09:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 25 04:08:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FCpnE-0006HG-9z for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2006 04:08:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FCpnE-00007W-Js for ged-emacs-devel@m.gmane.org; Fri, 24 Feb 2006 22:08:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FCenH-0005DL-3P for emacs-devel@gnu.org; Fri, 24 Feb 2006 10:23:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FCenD-0005C8-Co for emacs-devel@gnu.org; Fri, 24 Feb 2006 10:23:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FCenA-0005B3-0W for emacs-devel@gnu.org; Fri, 24 Feb 2006 10:23:37 -0500 Original-Received: from [18.95.6.7] (helo=outgoing.mit.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FCenJ-0004c9-8T for emacs-devel@gnu.org; Fri, 24 Feb 2006 10:23:45 -0500 Original-Received: by outgoing.mit.edu (Postfix, from userid 1000) id 898FD1E40A9; Fri, 24 Feb 2006 10:23:38 -0500 (EST) Original-To: Reiner Steib X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50923 Archived-At: > 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.