On Thu, 2006-04-06 at 16:31 +0200, Christian Neumair wrote:
> The attached patch should fix bug 314952 [1] by unaliasing MIME types
> before inserting the associated applications into the cache.
> 
> [1] http://bugzilla.gnome.org/show_bug.cgi?id=314952
> 

The xdg_mime_ calls needs to be protected by the gnome_vfs_mime_mutex
lock. I noticed some other calls in that files that weren't protected
and am fixing them now.

However, I don't think this is the right way to solve this bug. I think
update-desktop-database should do the unaliasing. That way every app
doesn't have to do this itself each time it loads the mimeinfo.cache
file. Don't you think this would be better?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   [EMAIL PROTECTED]    [EMAIL PROTECTED] 
He's a globe-trotting small-town hairdresser in a wheelchair. She's a 
transdimensional impetuous archaeologist with a flame-thrower. They fight 
crime! 

_______________________________________________
gnome-vfs-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list

Reply via email to