From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Jan_Dj=C3=A4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Emacs tool bar on Fedora14 Date: Tue, 16 Nov 2010 22:32:09 +0100 Message-ID: <096F4F06-B61A-452C-ADDD-FD3F74620AC5@swipnet.se> References: <4CDADD76.9070809@alice.it> <4CDAF28C.8040405@swipnet.se> <4CDD7CE5.4050809@swipnet.se> <4CE2276F.1010008@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (iPhone Mail 8B117) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1289943176 31561 80.91.229.12 (16 Nov 2010 21:32:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2010 21:32:56 +0000 (UTC) Cc: Emacs , "Andrew W. Nosenko" , Angelo Graziosi To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 16 22:32:50 2010 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.69) (envelope-from ) id 1PIT90-0006PZ-1D for ged-emacs-devel@m.gmane.org; Tue, 16 Nov 2010 22:32:50 +0100 Original-Received: from localhost ([127.0.0.1]:50283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIT8z-0001BK-Eo for ged-emacs-devel@m.gmane.org; Tue, 16 Nov 2010 16:32:49 -0500 Original-Received: from [140.186.70.92] (port=32919 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIT8v-0001B5-1k for emacs-devel@gnu.org; Tue, 16 Nov 2010 16:32:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIT8t-0007m7-TL for emacs-devel@gnu.org; Tue, 16 Nov 2010 16:32:44 -0500 Original-Received: from smtprelay-h31.telenor.se ([213.150.131.4]:45847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIT8t-0007lp-IT for emacs-devel@gnu.org; Tue, 16 Nov 2010 16:32:43 -0500 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id CE632EA33D for ; Tue, 16 Nov 2010 22:32:41 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuI0AOKG4kxV4S1kPGdsb2JhbACiD1QMAQEBATUtwDqFSwSFEohS X-IronPort-AV: E=Sophos;i="4.59,207,1288566000"; d="scan'208";a="151977161" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb1.telenor.se with ESMTP; 16 Nov 2010 22:32:41 +0100 Original-Received: from [172.20.199.248] (janiphone [172.20.199.248]) by coolsville.localdomain (Postfix) with ESMTPSA id 7D8BB7FA05A; Tue, 16 Nov 2010 22:32:40 +0100 (CET) In-Reply-To: X-Mailer: iPhone Mail (8B117) X-detected-operating-system: by eggs.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:132758 Archived-At: I'm saying that that function even if called would be a noop. A solution is i= n the works. I don't understand the urgency. Jan D. 16 nov 2010 kl. 16:24 skrev Stefan Monnier : >> We don't use Gtk+ tool bar functions to display the text because they are= >> too limited. Not showing text is not that hard anyway. >=20 > I'm not sure I understand what you're trying to say. To get back to my > argument: since both-horiz is the default, we should be careful to make > it work well enough, similarly to other Gtk apps, by only showing some > of the labels but not all. > Whether that is done by using gtk_tool_item_[gs]et_is_important (and/or > Gtk's toolbar functions to display the text) is rather secondary. > Of course, as a general rule, if we can reuse other people's code, it's > better, but indeed it's not always convenient. >=20 >=20 > Stefan >=20 >=20 >> Andrew W. Nosenko skrev 2010-11-16 00.45: >>> On Fri, Nov 12, 2010 at 22:39, Stefan Monnier = wrote: >>>>>> ** GTK tool bars can have just text, just images or images and text. >>>>>> Customize `tool-bar-style' to choose style. On a Gnome desktop, the >>>>>> default is taken from the desktop settings. >>>>>> BTW, I couldn't figure out how to customize it in Gnome. I do rememb= er >>>>>> seeing such an option somewhere (maybe in gnome-appearance-properties= ) >>>>>> at some point in the past, but I can't seem to find it any more. >>>>> There used to be an Interface tab in Appearance but it has been remove= d by >>>>> the Gnome people. I guess that is logical, as they seem to move >>>>> towards a customization-free desktop. They decided that both-horiz (i= con >>>>> followed by text) is what everybody should have. >>>>> Now you have to edit gconf directly either with gconf-editor or with >>>>=20 >>>>> % gconftool-2 --set --type string /desktop/gnome/interface/toolbar_st= yle both >>>>=20 >>>>> Other values are both-horiz, text or icons. >>>>=20 >>>> I think we should mention it in our documentation. And I also think >>>> there's something more going on: when I try gedit with various settings= >>>> of /desktop/gnome/interface/toolbar_style, it's clear that in both-hori= z >>>> setting, only some of the buttons get their text, whereas with Emacs >>>> they all do. >>>> That means that both-horiz is quite bearable with gedit but not >>>> with Emacs. And since both-horiz is the default, I think we need to >>>> figure out how to do the same as gedit does (i.e. specify which toolbar= >>>> buttons need to have the text displayed in both-horiz and which don't).= >>>=20 >>> http://library.gnome.org/devel/gtk/stable/GtkToolItem.html >>> gtk_tool_item_set_is_important() >>> gtk_tool_item_get_is_important() >>> "is-important" property >>>=20