From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: svn icons in the toolbar Date: Sun, 02 Sep 2007 14:52:42 +0100 Organization: Emacs Message-ID: References: <46D650E5.1030402@swipnet.se> <46DA7312.4020205@swipnet.se> <46DABAC3.10708@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1188741326 3017 80.91.229.12 (2 Sep 2007 13:55:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2007 13:55:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 02 15:55:25 2007 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.50) id 1IRpv3-0007wc-1F for ged-emacs-devel@m.gmane.org; Sun, 02 Sep 2007 15:55:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRpv2-0006aW-1Z for ged-emacs-devel@m.gmane.org; Sun, 02 Sep 2007 09:55:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IRpuy-0006Y5-L3 for emacs-devel@gnu.org; Sun, 02 Sep 2007 09:55:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IRpuy-0006Wk-6H for emacs-devel@gnu.org; Sun, 02 Sep 2007 09:55:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRpux-0006WW-Qq for emacs-devel@gnu.org; Sun, 02 Sep 2007 09:55:11 -0400 Original-Received: from ppsw-8.csi.cam.ac.uk ([131.111.8.138]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IRpux-00034v-C2 for emacs-devel@gnu.org; Sun, 02 Sep 2007 09:55:11 -0400 X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]:37750) by ppsw-8.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES256-SHA:256) id 1IRpuu-0003cf-SM (Exim 4.67) (return-path ); Sun, 02 Sep 2007 14:55:08 +0100 In-Reply-To: <46DABAC3.10708@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22's?= message of "Sun, 02 Sep 2007 15:29:39 +0200") User-Agent: Gnus/5.110007 Emacs/23.0.50 (20070901) Fedora 7 (gnu/linux) X-Detected-Kernel: 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:77589 Archived-At: On 2007-09-02 14:29 +0100, Jan Dj=E4rv wrote: > Leo skrev: >> On 2007-09-02 09:23 +0100, Jan Dj=E4rv wrote: >>> Leo skrev: >>>> On 2007-08-30 06:08 +0100, Jan Dj=E4rv wrote: > >>>>> Leo skrev: >>>>>> Hi there, >>>>>> Is it possible now to make the toolbar support svg or png icons? For= png >>>>>> support There is a patch in article: <1169151517.24488.17.camel@gala= had> >>>>> That would be great. It has been suggested that Emacs should use >>>>> the new Gnome icons (http://people.freedesktop.org/~jimmac/). It >>>>> would be so much easier if we just could copy the png images. >>>>> >>>>> Jan D. >>>> It looks like the patch is not needed anymore. I compiled Emacs from C= VS >>>> HEAD without any patch, the toolbar was able to display icons from gtk2 >>>> theme though there is only diropen falling back on the old xpm. See the >>>> screenshot: >>>> >>> It works for the Gtk+ port only. We now use stock items and Gtk+ does >>> all the file loading and rendering. But for other ports (Xt, X11, >>> OSX, W32) only xpm are used still. So I think the patch should go in. >>> >>> Jan D. >>=20 >> Thanks for explanation. >>=20 >> However have you noticed the 3rd icon on the tool-bar is still from the >> old xpm images. A new one could look like this: >>=20 > > Yes, I've noticed. That is because I found no suitable stock icon for it. > Does the icon you attached have a stock name? Where is it from? > > Jan D. It is in: /usr/share/icons/gnome/32x32/apps/system-file-manager.png dired is a file manager, right? If you really want to use the gtk-stock icon, GTK_STOCK_DIRECTORY can be a good candidate although I feel it is not as nice as system-file-manager.png. HTH, --=20 Leo