emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: svn icons in the toolbar


From: Stephen Berman
Subject: Re: svn icons in the toolbar
Date: Mon, 24 Sep 2007 17:56:14 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

On Thu, 20 Sep 2007 08:24:46 +0200 Jan Djärv <address@hidden> wrote:

> Stephen Berman skrev:
>
>> 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.
>>
>
> Try the attached program.  Compile like this:
>
> % gcc -o icon-view icon-view.c `pkg-config  gtk+-2.0 --cflags --libs`
>
> If run without arguments, it lists the named icons Gtk+ knows about.
> The list may be long, I have 2309 names.
>
> If you give it names as arguments, it displays a tool bar with those icons.
>
> If it just list stock-* names, then the gtk-qt engine only deals
> with stock icons.

Thanks.  The program prints a list of 1279 names.  The list contains
only two items matching stock*: stock_keyring and stock_printers, and
only one item matching gtk*: gtkvim.  The list does not contain
system-file-manager.  I do not see how your program interacts with
gtk-qt.  I looked at the gtk-qt sources and found a function
doIconMapping() which IIUC maps a GTK+ stock icon to a corresponding
KDE icon, the specific icons are hardcoded in the function
setRcProperties().  I could not find any function that looked like it
handles names icons, but I could well have overlooked it.

Steve Berman





reply via email to

[Prev in Thread] Current Thread [Next in Thread]