From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Text in Gtk tool bar. (Was: Gtk tabs in emacs, new branch.) Date: Wed, 21 Apr 2010 18:58:02 +0200 Message-ID: <4BCF2E9A.3060509@swipnet.se> References: <30298845.656931270806476838.JavaMail.www@wwinf4631> <4BBF0C6C.7000909@swipnet.se> <87ljcwaxfv.fsf@mail.jurta.org> <4BC016DA.60400@swipnet.se> <87d3y63gzt.fsf@mail.jurta.org> <4BC1EAB2.6080900@harpegolden.net> <4BC215A5.6010809@swipnet.se> <87y6gsfadn.fsf@mail.jurta.org> <4BC406C1.30404@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1271869165 14833 80.91.229.12 (21 Apr 2010 16:59:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2010 16:59:25 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 21 18:59:17 2010 connect(): No such file or directory 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 1O4dGb-0000Qh-Ec for ged-emacs-devel@m.gmane.org; Wed, 21 Apr 2010 18:59:13 +0200 Original-Received: from localhost ([127.0.0.1]:47910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4dGb-0000L4-0T for ged-emacs-devel@m.gmane.org; Wed, 21 Apr 2010 12:59:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4dFZ-0007aj-Kl for emacs-devel@gnu.org; Wed, 21 Apr 2010 12:58:09 -0400 Original-Received: from [140.186.70.92] (port=35819 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4dFX-0007Y0-SO for emacs-devel@gnu.org; Wed, 21 Apr 2010 12:58:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4dFV-0000Xm-V3 for emacs-devel@gnu.org; Wed, 21 Apr 2010 12:58:07 -0400 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]:43475) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4dFV-0000XT-PU for emacs-devel@gnu.org; Wed, 21 Apr 2010 12:58:05 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 7D264EA663 for ; Wed, 21 Apr 2010 18:58:04 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuJDAJDLzktV4S1uPGdsb2JhbACHZpQrDAEBAQE1Lb4ohQ8E X-IronPort-AV: E=Sophos;i="4.52,251,1270418400"; d="scan'208";a="66532476" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 21 Apr 2010 18:58:03 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 7055B7FA05A; Wed, 21 Apr 2010 18:58:02 +0200 (CEST) User-Agent: Thunderbird 2.0.0.24 (X11/20100411) In-Reply-To: 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:123992 Archived-At: Stefan Monnier skrev: >> For the GUI-part it is just a matter of not turning off text, like we do >> now. > > That's a very Gtk-centric point of view. The Lucid version begs to > differ, > Actually there is no lucid toolbar, it is just native code and redisplay. You get it even without using lucid. Actually, a lucid tool bar replacement would be a good thing, but then lucid would be a requirement. Anyway, I checked in the possibilty to have text in the tool bar. Just for Gtk+ for now, I'm working on the native one. See variable tool-bar-style for styles. The default is taken from Xsettings (i.e. Gnome setting). The code tries to generate a text for tool bar items based on key and caption. This sometimes fails, so the property :label can be set on tool bar items. I've done this for a few items I saw at once, I'm sure plenty remain. Jan D.