shared-mime-info/shared-mime-info-bump-priority-for-ISO-images.patch

26 lines
873 B
Diff

From 824cff3da0f17812715795f0e64a47f7331a338b Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 18 Feb 2015 10:37:36 +0100
Subject: Bump priority for ISO images glob matching
To work-around file managers that cannot use magic to differentiate
mime-types.
https://bugs.freedesktop.org/show_bug.cgi?id=80877
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 64f34b9..59e399c 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -1499,7 +1499,7 @@ command to generate the output files.
<_comment>raw CD image</_comment>
<sub-class-of type="application/x-raw-disk-image"/>
<alias type="application/x-iso9660-image"/>
- <glob pattern="*.iso"/>
+ <glob pattern="*.iso" weight="80"/>
<glob pattern="*.iso9660"/>
</mime-type>
<mime-type type="application/x-cdrdao-toc">
--
cgit v0.10.2