MIME types and icons
Alexander Larsson
alexl at redhat.com
Wed Sep 29 17:33:24 EEST 2004
On Tue, 2004-09-28 at 15:07 +0100, Eugene O'Connor wrote:
> Hello all,
>
> I am writing a chapter for a system administration guide on MIME types
> in GNOME. I'm trying to figure out how particular icons are associated
> with particular MIME types. Can anyone help? The Shared MIME-info
> Database doesn't seem to mention this.
>
> When it is completed, I will put the chapter back to GNOME CVS.
>
> Please cc me on any responses.
At the moment there is no cross-desktop standard for this. Gnome does
this for a file of mimetype "foo/bar" by first looking for a "gnome-
mime-foo-bar" icon in the current theme (and inherited themes), if not
found it then looks for "gnome-mime-foo". If that fails, the default
icon is used.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alla at lysator.liu.se
He's a jaded bohemian gentleman spy fleeing from a secret government
programme. She's a mentally unstable antique-collecting mechanic descended
from a line of powerful witches. They fight crime!
More information about the xdg
mailing list