summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Haug2011-04-27 17:30:15 -0600
committerNathan Haug2011-04-27 17:30:15 -0600
commit34d1c330e756c0182755643a939a30f02baa3bb3 (patch)
tree88fb353cb5f7fe6642c36e574c182d5310feef3e
parent08b0c6c639af9d48f71770dd4d7778e80120fc08 (diff)
Issue #1090216: Add MIME type icon compatibility for kml/kmz files.HEADmaster
-rw-r--r--filefield.theme.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/filefield.theme.inc b/filefield.theme.inc
index 8af08cb..bfdc479 100644
--- a/filefield.theme.inc
+++ b/filefield.theme.inc
@@ -231,6 +231,11 @@ function _filefield_generic_icon_map($file) {
case 'application/rtf':
return 'text-rtf';
+ // Google earth files.
+ case 'application/vnd.google-earth.kml+xml':
+ case 'application/vnd.google-earth.kmz':
+ return 'application-google-earth';
+
// Executable types.
case 'application/x-macbinary':
case 'application/x-ms-dos-executable':