[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xdg
Subject:    Re: aliases and subclasses files
From:       Alexander Larsson <alexl () redhat ! com>
Date:       2005-03-29 7:58:14
Message-ID: 1112083095.9779.135.camel () greebo
[Download RAW message or body]

On Thu, 2005-03-24 at 16:33 -0500, Jaime Chang wrote:
> Hi everybody,
> 
> I have started looking at the shared mime package today and I think it's 
> a great idea. I have also been using the xdgmime library to extract the 
> mime type of a file based on the magic numbers and the extension files. 
> However, I noticed in the xdgmime code that it tries to load information 
> from files called aliases and subclasses of the mime directory but those 
> files don't get created when the shared-mime-info package (ver. 0.15) is 
> installed. Are these files not used anymore? I also tried installing 
> ver. 0.12 but I got the same result. Please let me know if I am missing 
> something really important.

These files get written by update-mime-database. However, that code was
added after version 0.15.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl@redhat.com    alla@lysator.liu.se 
He's an oversexed albino stage actor on the run. She's a cosmopolitan mutant 
safe cracker who don't take no shit from nobody. They fight crime! 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic