From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: tool-bar (Carbon port): labels under icons Date: Sat, 05 Apr 2008 11:40:37 -0400 Message-ID: References: <1B41BDB3-EFEC-4CFC-8006-2233F8D90024@inf.ed.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207410051 31626 80.91.229.12 (5 Apr 2008 15:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Apr 2008 15:40:51 +0000 (UTC) Cc: emacs- devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 05 17:41:23 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JiAWA-0005q5-3D for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 17:41:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiAVX-00042u-7k for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 11:40:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JiAVU-00042p-Da for emacs-devel@gnu.org; Sat, 05 Apr 2008 11:40:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JiAVS-00042d-WC for emacs-devel@gnu.org; Sat, 05 Apr 2008 11:40:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiAVS-00042a-Pf for emacs-devel@gnu.org; Sat, 05 Apr 2008 11:40:38 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JiAVS-00079E-O0 for emacs-devel@gnu.org; Sat, 05 Apr 2008 11:40:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq0BAGo690fO+J/WdGdsb2JhbACBXI94ASqYWg X-IronPort-AV: E=Sophos;i="4.25,609,1199682000"; d="scan'208";a="17867858" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 05 Apr 2008 11:40:37 -0400 Original-Received: from pastel.home ([206.248.159.214]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id LTT80237; Sat, 05 Apr 2008 11:40:37 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 824367F85; Sat, 5 Apr 2008 11:40:37 -0400 (EDT) In-Reply-To: <1B41BDB3-EFEC-4CFC-8006-2233F8D90024@inf.ed.ac.uk> (David Reitter's message of "Sat, 5 Apr 2008 08:50:01 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:94417 Archived-At: > Can I suggest the following patch that allows the use of labels under the > icons as is standard on the OS? I think the feature is a good one, but it needs to be supported under GNU/Linux as well. The reason why we don't have it is because the non-toolkit toolbar does not support it (i.e. the code for it was simply not written), but now that we use Gtk it should not be difficult. > 2008-04-05 David Reitter > * tool-bar.el (tool-bar-local-item): Accept string for KEY > as icon label. We should add a :caption property to menu-items instead. Using strings for keys may work, but it's a hack. Stefan