Re: using deprecated gnome_mime instead of gnome_vfs_mime (was file moniker patch)



Miguel de Icaza <miguel helixcode com> writes:

> > My only worry is that the old MIME database gives answers that are often
> > wrong, and different from the new one. If the trivial hack in the moniker
> > code will still work well enough when it gets incorrect MIME types for many
> > files, then I guess this is fine as an interim measure.
> > 
> > Problems with the old MIME code and database weren't noticed by non-gmc
> > users, so there were many, many problems with it.
> 
> It seems like we can copy the core keys files into gnome-libs.  And we
> could also replace the incomplete magic file in gnome-libs with the
> one in the gnome-vfs, unless the format has changed a lot.
> 

We considerably changed the file formats (including the keys file). I
don't think gnome-libs will be able to handle it in a meaningful
way. And making it do so is pointless since the mime code in
gnome-libs is deprecated. It's also a lot of hoops to jump through
just to avoid having a gnome-vfs dependency that you already have.

 - Maciej





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]