Re: gnome_vfs_get_mime_type does NOT get the mime_type



On Tue, 2004-01-20 at 07:36, Chee Bin HOH wrote:
> Hi guys,
> 
> I need some help here, today I just use jhbuild to
> rebuild the 2.5 gnome. I noticed that the
> gnome_vfs_get_mime_type or
> gnome_vfs_get_mime_type_from_uri does not work.
> 
> since the latest yelp use the gnome-vfs to determine
> the correct mimetype and then respond to the help file
> according to mime-type.
> 
> For whatever file I use gnome_vfs_get_mime_type to
> retrive, I keep getting application/octect-stream.
> 
> Is there anything i miss out about ?

Did you install shared-mime-info? Did you set XDG_DATA_DIRS to include
$prefix/share?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a globe-trotting skateboarding hairdresser who dotes on his loving old 
ma. She's a foxy cat-loving barmaid with an incredible destiny. They fight 
crime! 




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