summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukáš Tyrychtr <lukastyrychtr@gmail.com>2023-02-10 13:07:50 +0100
committerDavid Faure <faure@kde.org>2023-09-19 14:59:27 +0000
commit22fda65d72d81ef7c3e2a52c148f099491341ca4 (patch)
tree2c69210cb14df3c28237f5a66a81dee5cad76bdd
parentfc1bf6aa347bdaeb9185178cf04a5a019bffc260 (diff)
Add subclass information for .ppt and .xls
Without the subclass information, KDE's indexing daemon is not capable to extract the text properly. See https://bugs.kde.org/show_bug.cgi?id=438455#c23 for more context. Fixes #190
-rw-r--r--data/freedesktop.org.xml.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index cbd4a29..64eb1a1 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -677,6 +677,7 @@ command to generate the output files.
</mime-type>
<mime-type type="application/vnd.ms-excel">
<comment>Excel spreadsheet</comment>
+ <sub-class-of type="application/x-ole-storage"/>
<generic-icon name="x-office-spreadsheet"/>
<magic>
<match type="string" value="Microsoft Excel 5.0 Worksheet" offset="2080"/>
@@ -719,6 +720,7 @@ command to generate the output files.
</mime-type>
<mime-type type="application/vnd.ms-powerpoint">
<comment>PowerPoint presentation</comment>
+ <sub-class-of type="application/x-ole-storage"/>
<generic-icon name="x-office-presentation"/>
<glob pattern="*.ppz"/>
<glob pattern="*.ppt"/>