From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Text in Gtk tool bar. (Was: Gtk tabs in emacs, new branch.) Date: Fri, 23 Apr 2010 11:35:48 +0300 Organization: JURTA Message-ID: <87k4rya7hj.fsf@mail.jurta.org> 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> <4BCF2E9A.3060509@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272012324 11769 80.91.229.12 (23 Apr 2010 08:45:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2010 08:45:24 +0000 (UTC) Cc: Stefan Monnier , "Emacs Dev \[emacs-devel\]" To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 23 10:45: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 1O5EVf-0006IL-3P for ged-emacs-devel@m.gmane.org; Fri, 23 Apr 2010 10:45:15 +0200 Original-Received: from localhost ([127.0.0.1]:35146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5EVe-00081O-Md for ged-emacs-devel@m.gmane.org; Fri, 23 Apr 2010 04:45:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5EVZ-00081B-9W for emacs-devel@gnu.org; Fri, 23 Apr 2010 04:45:09 -0400 Original-Received: from [140.186.70.92] (port=52200 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5EVW-00080D-HV for emacs-devel@gnu.org; Fri, 23 Apr 2010 04:45:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5EVU-0001KS-OX for emacs-devel@gnu.org; Fri, 23 Apr 2010 04:45:06 -0400 Original-Received: from smtp-out2.starman.ee ([85.253.0.4]:38539 helo=mx2.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5EVU-0001K8-Il for emacs-devel@gnu.org; Fri, 23 Apr 2010 04:45:04 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.29.104.cable.starman.ee [82.131.29.104]) by mx2.starman.ee (Postfix) with ESMTP id 310103F412D; Fri, 23 Apr 2010 11:45:01 +0300 (EEST) In-Reply-To: <4BCF2E9A.3060509@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22?= =?iso-8859-1?Q?'s?= message of "Wed, 21 Apr 2010 18:58:02 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:124107 Archived-At: > 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. Do you have an idea how to implement the style `both' (with text under image) on a non-toolkit build? The remaining options `text' and `both-horiz' would be easy to do. Actually, `both-horiz' is what the tab-bar uses: it shows the close icon to the right of the tab label. -- Juri Linkov http://www.jurta.org/emacs/