summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-30 12:16:56 +0000
committerBastien Nocera <hadess@hadess.net>2014-10-30 14:27:30 +0100
commitb1bb71cf1de79a877a29bb9aff22a367e8768381 (patch)
treea2f46b15ef56840afe64470078b5324f65d7e5a3
parent56576c0722309f50f480d21603475d78fc5d5522 (diff)
downloadshared-mime-info-b1bb71cf1de79a877a29bb9aff22a367e8768381.tar.gz
Add magic for ODB files
Fixes ODB file association being missing in dolphin See https://bugzilla.redhat.com/1158778 https://bugs.freedesktop.org/show_bug.cgi?id=85645
-rw-r--r--freedesktop.org.xml.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 7258d2e1..ee4bf5aa 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -1157,6 +1157,13 @@ command to generate the output files.
<expanded-acronym>OpenDocument Database</expanded-acronym>
<sub-class-of type="application/zip"/>
<generic-icon name="x-office-document"/>
+ <magic priority="50">
+ <match type="string" value="PK\003\004" offset="0">
+ <match type="string" value="mimetype" offset="30">
+ <match type="string" value="application/vnd.oasis.opendocument.base" offset="38"/>
+ </match>
+ </match>
+ </magic>
<glob pattern="*.odb"/>
<alias type="application/vnd.sun.xml.base"/>
</mime-type>