Comment 15 for bug 570836

Revision history for this message
In , Hans de Goede (j-w-r-degoede) wrote :

(In reply to comment #4)
> I've been thinking about this again. We probably need to update
> shared-mime-info to have all the aliases you added here, as well as aliases for
> zz-application/zz-winassoc-doc and zz-application/zz-winassoc-xls.
>

That sounds like a good idea.

> And once we get those last two aliases, I'm actually unsure we need to put
> those two as exceptions -- I would think that our mime stack would be clever
> enough to think: "want to open zz-application/zz-winassoc-xls, which is an
> alias to application/vnd.ms-excel, so want to open application/vnd.ms-excel".
>
> What do you think?

I think that wrt "our mime stack would be clever enough", that the proof is in the pudding. IOW we need to make sure that is the case (and then convince the gnumeric people of this and that since the alias is now in shared-mime-info, that they can drop it from their desktop file).

I've no idea how to quickly / easily test this though, and I don't have a lot of time to spend on this. So I would like to move forward with my latest patch for now, I'll also do a patch for shared-mime-info, and then maybe later we can see if the aliases can be removed from desktop files since our mime infra takes care of it.