From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: tool bar icons not updated according to :active condition Date: Sun, 26 Feb 2006 00:30:30 +0100 Message-ID: References: <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 1140946537 8666 80.91.229.2 (26 Feb 2006 09:35:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Feb 2006 09:35:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 26 10:35:35 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 1FDIJS-0002go-1x for ged-emacs-devel@m.gmane.org; Sun, 26 Feb 2006 10:35:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FDIJR-0001cC-Cr for ged-emacs-devel@m.gmane.org; Sun, 26 Feb 2006 04:35:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FDApH-0006Ju-Mi for emacs-devel@gnu.org; Sat, 25 Feb 2006 20:35:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FDApA-0006BZ-N6 for emacs-devel@gnu.org; Sat, 25 Feb 2006 20:35:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FDAp6-00066j-Jv for emacs-devel@gnu.org; Sat, 25 Feb 2006 20:35:46 -0500 Original-Received: from [193.162.153.9] (helo=pqueuea.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FDApV-0004zY-Cz for emacs-devel@gnu.org; Sat, 25 Feb 2006 20:36:09 -0500 Original-Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by pqueuea.post.tele.dk (Postfix) with ESMTP id C343B3767BD for ; Sun, 26 Feb 2006 00:31:21 +0100 (CET) Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id EF440262807; Sun, 26 Feb 2006 00:31:09 +0100 (CET) Original-To: Chong Yidong In-Reply-To: (Reiner Steib's message of "Sat, 25 Feb 2006 10:31:53 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:50981 Archived-At: Reiner Steib writes: > The following code updates the frame and the tool bar, but I think it > is too expensive (and maybe irritating for the user) because it > affects the whole frame, not only the tool bar. Is it possible to > limit redrawing to the tool bar? No, but I think force-window-update is cheaper than redraw-frame. -- Kim F. Storm http://www.cua.dk