FVWM: Re: icon <--> application (was: WM-icons - contribution)

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Thu, 20 Jun 2002 10:47:43 +0000

On 20 Jun 2002 12:07:11 +0200, Riswick, J.G.A. van wrote:
>
> I was wondering if in fvwm-themes there is somewhere a
> function that in some magic way finds an icon for a given
> application, maybe through some kind of an icon-database
> or something. I'm working on an application launching
> panel, and one of the problems i face is to always find
> an icon for a given application. It is possible by using
> the gnome libraries, but I'd prefer not to...

Well, yes, there is an application-matching-pattern-to-icon database.
But it will not help you. There is a need in a wider application database
including name, resource strings and category. This should be enough to
assign an icon (using wm-icons categories), to automatically create
application menus and to implement application choosers for bindings and
panels like yours.

You may use GNOME or KDE *.desktop database for now, I think.
Or maybe even query FreshMeat online to get a category, I don't know.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Jun 20 2002 - 05:48:48 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST