From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: GTK Emacs: toolbar disappears in GTK2 "Text Only" mode Date: Mon, 17 Feb 2003 19:35:31 +0100 (CET) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200302171937.h1HJatFM021732@stubby.bodenonline.com> References: <7ud6lrmv0k.fsf@allele2.biol.berkeley.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045507305 31493 80.91.224.249 (17 Feb 2003 18:41:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2003 18:41:45 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18kqCy-0008BH-00 for ; Mon, 17 Feb 2003 19:41:40 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18kqRU-0004FB-00 for ; Mon, 17 Feb 2003 19:56:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18kqF0-00029K-00 for emacs-devel@quimby.gnus.org; Mon, 17 Feb 2003 13:43:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18kqEg-00028t-00 for emacs-devel@gnu.org; Mon, 17 Feb 2003 13:43:26 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18kqEe-000272-00 for emacs-devel@gnu.org; Mon, 17 Feb 2003 13:43:25 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18kqEd-000255-00 for emacs-devel@gnu.org; Mon, 17 Feb 2003 13:43:23 -0500 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) h1HJatFM021732; Mon, 17 Feb 2003 20:37:01 +0100 In-Reply-To: <7ud6lrmv0k.fsf@allele2.biol.berkeley.edu> "from Alex Lancaster at Feb 16, 2003 07:43:55 pm" Original-To: Alex Lancaster X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11711 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11711 > > I think Emacs should do a combination of two things in this situation: > > 1. have a separate variable to override/ignore the GTK2 preference, > and display the icons regardless of the "Button Label" preference > > 2. supply "text-only" versions of the pixmaps so the toolbar looks OK > when "Text Only" buttons are selected > > My preference is that the default be (2), as it would make Emacs > behave consistently with respect to other GTK2 applications. An > additional (non-default) option could be added to support (1). This > would seem to add the maximum configurability whilst retaining the > consistent GTK2 behaviour. > > The behaviour should certainly not be left as it is, because the > toolbar basically becomes invisible when the GTK2 preference is > switched leading to confusion (as it clearly did in my case). For now, I had to go for (1), i.e. force display of icons. There is no suitable text to show. The tool bar items in Emacs have captions that I considered first, but the Gtk tool bar makes every item the same size, so the longest caption determines the size of the tool bar. Emacs captions tend to be on the long side, like "Save (current buffer)". Although I have a rather small font, this made the tool bar much longer than the screen (1280 pixels). Jan D.