main extension for a mimetype

Bastien Nocera hadess at
Wed Jul 2 02:58:37 PDT 2008

On Tue, 2008-07-01 at 15:46 +0200, David Faure wrote:
> The concept of the "main" extension for a mimetype is missing in
> shared-mime-info,
> (which constitutes a regression compared to our earlier system).
> I see two solutions:
> 1) fixing update-mime-database to respect the order of the globs [but
> this is a bit of an undocumented use of that order]

I'd go for this one, and documenting it. It would avoid a revup of the
mime cache version, and unbreak your application for free.


More information about the xdg mailing list