[dev] mime type icons

Michael M Slusarz slusarz@bigworm.colorado.edu
Mon, 8 Jul 2002 09:09:17 -0600


Quoting Jan Schneider <jan@horde.org>:

| We first try to get the icon from the application, then from Horde and
| then
| for text/plain from Horde. The last should probably changed to get the
| icon
| from Horde's default.
| But the problem is in the first step. If the application doesn't have an
| own
| mime driver it returns the the default icon (being the text icon in
| Chora).
| To fix this we either have to remove the default entries from the
| applications' mime_drivers.php or change the logic to detecting the mime
| icon to the following: Try to get an exact match from the application,
| try
| to get an exact match from Horde, try to get the default from the
| application, get the default from Horde.

I actually noticed this yesterday also and was going to do something about 
it.  Namely, there seemed to be some unneeded overlap in the 
horde/graphics/mime and imp/graphics/mime directories.

michael

______________________________________________
Michael Slusarz [slusarz@bigworm.colorado.edu]
The University of Colorado at Boulder