Re: [PATCH] unalias MIME types in application cache
- From: Alexander Larsson <alexl redhat com>
- To: Christian Neumair <chris gnome-de org>
- Cc: gnome-vfs-list gnome org
- Subject: Re: [PATCH] unalias MIME types in application cache
- Date: Tue, 25 Apr 2006 11:26:30 +0200
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
alexl redhat com alla lysator liu se
He's a globe-trotting small-town hairdresser in a wheelchair. She's a
transdimensional impetuous archaeologist with a flame-thrower. They fight
crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]