From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Narrow separator tool bar icon in Emacs 22? Date: Fri, 27 Jan 2006 14:54:34 +0100 Message-ID: <43DA261A.7000607@swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1138393779 26512 80.91.229.2 (27 Jan 2006 20:29:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2006 20:29:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 27 21:29:36 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F2aDg-0007h6-8t for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2006 21:29:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2aBE-0003jd-Kn for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2006 15:26:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F2XZY-0007ZF-5T for emacs-devel@gnu.org; Fri, 27 Jan 2006 12:39:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F2XMo-0004j8-4y for emacs-devel@gnu.org; Fri, 27 Jan 2006 12:26:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2U7R-0003N1-8R for emacs-devel@gnu.org; Fri, 27 Jan 2006 08:58:31 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F2U5B-00006C-8M for emacs-devel@gnu.org; Fri, 27 Jan 2006 08:56:09 -0500 Original-Received: from coolsville.localdomain ([83.226.180.193] [83.226.180.193]) by mxfep02.bredband.com with ESMTP id <20060127135529.DNEQ2008.mxfep02.bredband.com@coolsville.localdomain>; Fri, 27 Jan 2006 14:55:29 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en Original-To: Reiner Steib In-Reply-To: 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:49615 Archived-At: Reiner Steib wrote: >Hi, > >in Emacs 21, the following code adds a *narrow* separator icon [1] and >an exit icon to the toolbar: > > (tool-bar-add-item "/tmp/separator" "sep" 'ignore :help "separator") > (tool-bar-add-item "exit" "exit" 'bury-buffer) > >In Emacs 22 (Gtk build), the separator icon is as broad as the other >icons. Is it possible to have a narrow separator in Emacs 22? How? > The way to make items of unequal width changed from GTK 2.2 to GTK 2.4 in an incompatible way. So I can make your example work, but then we would have to require GTK 2.4 or newer. Maybe that isn't such a big reuirement now that 2.8 is out. Jan D.