On Wednesday 02 July 2008, Bastien Nocera wrote: > 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). > <snip> > > 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.
Sounds good to me :-) [It would also make unit tests more easy to write reliably; right now I have to sort the list of patterns I get from the system and to sort the expected list of patterns, just to be able to compare them...] -- David Faure, [EMAIL PROTECTED], sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org). _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
