Application Icons

edscott edscott at prodigy.net.mx
Fri Sep 10 15:36:43 CEST 2004


El vie, 10-09-2004 a las 06:54, Frank Schmitt escribió:
> Hello
> 
> If an application doesn't provide an icon, XFCE uses a quite ugly
> default icon in taskbar, iconbox, switch-to-dialog etc. KDE has a quite
> clever solution for this:
> 
> If the application provides an icon, it is used. If the application
> doesn't, KDE looks for /usr/share/icons/$XRessourceNameOfApp.png and
> uses this file if present.
> 
> Would it be possible to implement this behavior or an other possibility
> to get a nice icon for e.g. rxvt in XFCE? If nobody finds time and
> motivation for this, in which part of the sources would I have to dig to
> bake up something like this myself?

A small function to work as you explain would probably go into
libxfcegui4. In order to know what code would need to be patched to use
the function, you would need to search the source code tree for all *.c
files containing "unknown.png". 

regards,

Edscott






More information about the Xfce4-dev mailing list