From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: svn icons in the toolbar Date: Wed, 19 Sep 2007 23:22:58 +0200 Message-ID: <87r6kue4el.fsf@escher.local.home> References: <46D650E5.1030402@swipnet.se> <46DA7312.4020205@swipnet.se> <46DABAC3.10708@swipnet.se> <46DAF70C.8060006@swipnet.se> <87r6kvprk7.fsf@escher.local.home> <46F0C110.4030306@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1190237572 23325 80.91.229.12 (19 Sep 2007 21:32:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2007 21:32:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 19 23:32:51 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 1IY7AA-0007l3-FH for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 23:32:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IY7A8-0004dy-OH for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 17:32:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IY7A4-0004bP-Q2 for emacs-devel@gnu.org; Wed, 19 Sep 2007 17:32:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IY7A3-0004aQ-Sa for emacs-devel@gnu.org; Wed, 19 Sep 2007 17:32:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IY7A3-0004a2-Mw for emacs-devel@gnu.org; Wed, 19 Sep 2007 17:32:43 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IY7A2-0002fE-Cg for emacs-devel@gnu.org; Wed, 19 Sep 2007 17:32:43 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IY75r-0006a6-Fo for emacs-devel@gnu.org; Wed, 19 Sep 2007 23:28:23 +0200 Original-Received: from i577bc854.versanet.de ([87.123.200.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2007 23:28:23 +0200 Original-Received: from Stephen.Berman by i577bc854.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2007 23:28:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bc854.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (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:79335 Archived-At: On Wed, 19 Sep 2007 08:26:24 +0200 Jan Djärv wrote: > Stephen Berman skrev: >> On Sun, 02 Sep 2007 19:46:52 +0200 Jan Djärv wrote: >> >>> Jan Djärv skrev: >>>> Leo skrev: >>>>> 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: >>>>> >>>> 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? >>>> >>> I think it is the named icon system-file-manager. I added that one. >> >> I'm running GNU Emacs 23.0.50.3 (i686-pc-linux-gnu, GTK+ Version >> 2.10.6) of 2007-09-17 on escher under KDE 3.5.7. The defcustom >> x-gtk-stock-map from x-win.el contains this: ("etc/images/diropen" >> . "n:system-file-manager"). Nevertheless, the relevant tool bars all >> have diropen.xpm from etc/images rather than system-file-manager.png. >> My system has the following system-file-manager icons: >> >> /opt/gnome/share/icons/gnome/16x16/apps/system-file-manager.png >> /opt/gnome/share/icons/gnome/22x22/apps/system-file-manager.png >> /opt/gnome/share/icons/gnome/24x24/apps/system-file-manager.png >> /opt/gnome/share/icons/gnome/32x32/apps/system-file-manager.png >> /usr/share/icons/Tango/128x128/apps/system-file-manager.png >> /usr/share/icons/Tango/16x16/apps/system-file-manager.png >> /usr/share/icons/Tango/22x22/apps/system-file-manager.png >> /usr/share/icons/Tango/24x24/apps/system-file-manager.png >> /usr/share/icons/Tango/32x32/apps/system-file-manager.png >> /usr/share/icons/Tango/48x48/apps/system-file-manager.png >> /usr/share/icons/Tango/64x64/apps/system-file-manager.png >> /usr/share/icons/Tango/72x72/apps/system-file-manager.png >> /usr/share/icons/Tango/96x96/apps/system-file-manager.png >> >> When I run Emacs under Gnome, system-file-manager.png is used. Note >> that the tool bars do display the available Gnome stock icons under >> KDE, it's just the named icon that isn't used. >> > > I don't think named icons work under anything else than Gnome. The > theme is set in XSETTINGS and that is maintained by the gnome settings > daemon. The Gtk+ stock icons however, are hardcoded in Gtk+. I forgot that I am using the gtk-qt engine, which "allows GTK applications to use Qt widget styles", including tool bar icons. The icons I see are actually KDE icons from /opt/kde3/share/icons/crystalsvg/32x32/actions. I assume gtk-qt maps the Gnome stock icons to corresponding KDE icons of the selected theme. I couldn't find an icon in the crystal theme corresponding to system-file-manager, but it may just be that gtk-qt does not handle named Gnome icons. Steve Berman