From 4d692b69666e7fb74d18ec35365583a023106533 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 14 Jun 2017 11:46:00 +0200 Subject: [PATCH] add location filetype icon Signed-off-by: Arthur Schiwon --- core/img/filetypes/location.svg | 2 ++ core/js/mimetypelist.js | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 core/img/filetypes/location.svg diff --git a/core/img/filetypes/location.svg b/core/img/filetypes/location.svg new file mode 100644 index 0000000000..737b1dd662 --- /dev/null +++ b/core/img/filetypes/location.svg @@ -0,0 +1,2 @@ + + diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js index 89558e2108..07ae0efee0 100644 --- a/core/js/mimetypelist.js +++ b/core/js/mimetypelist.js @@ -12,6 +12,7 @@ OC.MimeTypeList={ "application/epub+zip": "text", "application/font-sfnt": "image", "application/font-woff": "image", + "application/gpx+xml": "location", "application/illustrator": "image", "application/javascript": "text/code", "application/json": "text/code", @@ -25,6 +26,9 @@ OC.MimeTypeList={ "application/rss+xml": "application/xml", "application/vnd.android.package-archive": "package/x-generic", "application/vnd.lotus-wordpro": "x-office/document", + "application/vnd.garmin.tcx+xml": "location", + "application/vnd.google-earth.kml+xml": "location", + "application/vnd.google-earth.kmz": "location", "application/vnd.ms-excel": "x-office/spreadsheet", "application/vnd.ms-excel.addin.macroEnabled.12": "x-office/spreadsheet", "application/vnd.ms-excel.sheet.binary.macroEnabled.12": "x-office/spreadsheet", @@ -104,6 +108,7 @@ OC.MimeTypeList={ "folder-shared", "folder-starred", "image", + "location", "package-x-generic", "text", "text-calendar",