From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Tool-bar icons with disabled/selected states not displayed (Carbon port) Date: Tue, 02 May 2006 09:39:13 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <32503AD0-D6AB-428F-A3B3-35EA2577BB43@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1146530387 15018 80.91.229.2 (2 May 2006 00:39:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 May 2006 00:39:47 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 02 02:39:42 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 1FaivO-0001sf-6V for ged-emacs-devel@m.gmane.org; Tue, 02 May 2006 02:39:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaivN-0006fw-Lv for ged-emacs-devel@m.gmane.org; Mon, 01 May 2006 20:39:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaivA-0006fn-Lz for emacs-devel@gnu.org; Mon, 01 May 2006 20:39:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Faiv8-0006fM-Q0 for emacs-devel@gnu.org; Mon, 01 May 2006 20:39:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Faiv8-0006fJ-Ib for emacs-devel@gnu.org; Mon, 01 May 2006 20:39:18 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FaivA-0003ME-OQ for emacs-devel@gnu.org; Mon, 01 May 2006 20:39:21 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 5BABF2C91; Tue, 2 May 2006 09:39:13 +0900 (JST) Original-To: David Reitter In-Reply-To: <32503AD0-D6AB-428F-A3B3-35EA2577BB43@gmail.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) 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:53753 Archived-At: >>>>> On Tue, 2 May 2006 00:43:40 +0100, David Reitter said: >> I suspect the issue is in displaying "s1.dis.xpm" simply, rather >> than in general disabled image handling. Can you show its >> contents? > Sure, these are the two files. Generated with ImageMagick. > However, I'm getting the same effect with the other toolbar buttons > that I've replaced. Don't they contain `.' in their variable_name part (the part between "static char *" and "[]" in the second line)? The file "s1.dis.xpm" contains the following line: static char *saveas.dis[] = { The specification of XPM (http://koala.ilog.fr/lehors/doc/xpm.PS) does not explicitly state the syntax of the variable_name. But I think it is reasonable to assume that it coincides with that of identifiers in C or C++, because XPM is designed so as to be included in these languages. (Chapter 2 starts with "The XPM format presents a C syntax".) I could display s1.dis.xpm if the variable_name part is replaced with `saveas_dis'. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp