Mime Spec updates: Matching order and generic icons
alexl at redhat.com
Tue Jan 29 01:13:46 PST 2008
On Mon, 2008-01-28 at 16:41 +0100, Jakob Petsovits wrote:
> > Opinions?
> Yay for not hardcoding generic icons! I like it.
> Just one thing:
> > If this element is not specified then the mimetype is used to generate the
> > generic icon by using the top-level media type (e.g. "video" in "video/ogg")
> > and appending "-x-generic" (i.e. "video-x-generic" in the previous example).
> > Only one <userinput>generic-icon</userinput> element is allowed.
> I'm not sure if an application-x-generic icon makes sense... any measures to
> avoid checking or even having that one?
As an optimization you mean? Surely no icon theme will add an icon like
this. That would be totally stupid. I dunno if this will affect
performance that much though. We still have to look up a lot of names,
so that is genreally made pretty fast.
More information about the xdg