Summary: | add field to specify substitutive icon name for mime type when the dedicated is unavailable | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Kamil Neczaj <kneczaj> |
Component: | general | Assignee: | Jonathan Blandford <jrb> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Kamil Neczaj
2008-09-27 16:30:16 UTC
If you add a new mime-type, you can already use the "generic-icon" property to define an icon to use if no exactly matching icons are available. Possible values are listed in the freedesktop.org.xml file: <!ATTLIST generic-icon name (application-x-executable|audio-x-generic|font-x-generic|image-x-generic|package-x-generic|text-html|text-x-generic|text-x-generic-template|text-x-script|video-x-generic|x-office-address-book|x-office-calendar|x-office-document|x-office-presentation|x-office-spreadsheet) #IMPLIED> For other mime-types, like audio/* and video/*, it's up to your icon theme to provide a generic icon for those types. The fallback mechanism is already available and used in different implementations. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.