GNOME Bugzilla – Bug 98362
MIME xpm icons are ignored
Last modified: 2004-12-22 21:47:04 UTC
In CrossOver Office (http://www.codeweavers.com/products/cxoffice) we create MIME type associations for the various MIME types registered by Windows applications. We convert the Windows icon to an xpm file but Nautilus does not take display the corresponding icon. Here is an example: application/msword default_application_id=cxclient-app-0 short_list_application_user_additions=cxclient-app-0 icon_filename=/opt/cxoffice/support/dotwine/fake_windows/Windows/Icons/doc.xpm description=Microsoft Word Document default_action_type=application The first issue, which is that Nautilus does not take into account icons outside its nautilus directory, is fixed in Nautilus 2.0.6 (see bug 84657). However Nautilus still ignores icons that are in the xpm format. Yet in the Gnome configuration utilities ("File Types and Programs" / gnome-file-types-properties) one can enter the path of an xpm icon and it is properly recognized (i.e. displayed) by the configuration tool. Also, in other places, for instance in the menus, Gnome accepts xpm icons (and KDE does too, both for menus and MIME type associations). Thus this seems to be a Nautilus bug, hence this report<g>.
Couple comments: 1. You really need to test this with the 2.2 branch which now supports the freedesktop standard for icons. 2. Are xpms supported by the standard? I'm not sure, I think that pngs and svgs may be the only supported types.
xpm's seem to be shown correctly in 2.4.x at least. Could you recheck?
I rechecked with Nautilus 2.4.0 (from Mandrake 9.2) and it works. Nautilus correctly picks up an xpm file that I put in /usr/share/pixmaps.
Ok. Thanks for the feedback.