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 154765 - Be more robust against applications setting empty mime types
Be more robust against applications setting empty mime types
Status: RESOLVED FIXED
Product: libegg
Classification: Other
Component: recent-files
unspecified
Other Linux
: High normal
: ---
Assigned To: James Willcox
James Willcox
Depends on:
Blocks:
 
 
Reported: 2004-10-07 10:36 UTC by Mark McLoughlin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.31 KB, patch)
2004-10-07 10:36 UTC, Mark McLoughlin
none Details | Review

Description Mark McLoughlin 2004-10-07 10:36:15 UTC
If an application puts <MimeType></MimeType> in ~/.recently-used, there's no
reason we can't try and detect the MIME type of the file ourself.

e.g. in Fedora atm, OpenOffice has a bug that causes it to do this with .xls files:

  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=123018

Attaching a patch
Comment 1 Mark McLoughlin 2004-10-07 10:36:44 UTC
Created attachment 32323 [details] [review]
patch
Comment 2 Mark McLoughlin 2004-11-10 09:14:16 UTC
James?
Comment 3 James Willcox 2004-11-10 17:40:56 UTC
Oops.  Yeah, the patch looks good.
Comment 4 Mark McLoughlin 2004-11-10 18:14:35 UTC
Thanks