Re: gmc and icons and command bindings

> libgnome/gnome-mime.c:gnome_mime_type_or_default()
> All the mime-types and extensions are added with prio "0".
> The for-loop in the above function first checks the hash_table
> for prio 1, so nothing is found. Then it checks the regexec()
> which has a match, but no mime-types.

I do not understand how this makes any difference.

The gnome_mime_type_or_default only figures out a mime-type out from a
filename.  Splitting the loop in two pieces would do just the same.

Can you tell me which other changes you did?


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