After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 98362 - MIME xpm icons are ignored
MIME xpm icons are ignored
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-11-13 05:43 UTC by Francois Gouget
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Francois Gouget 2002-11-13 05:43:18 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>.
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2003-01-29 12:00:06 UTC
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.
Comment 2 Kjartan Maraas 2003-10-28 21:19:39 UTC
xpm's seem to be shown correctly in 2.4.x at least. Could you recheck?
Comment 3 Francois Gouget 2003-10-30 13:05:16 UTC
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.
Comment 4 Kjartan Maraas 2003-10-30 16:38:25 UTC
Ok. Thanks for the feedback.