shared-mime-info/shared-mime-info-fix-applications-desktop-mime-recognition.patch

25 lines
889 B
Diff
Raw Normal View History

From bb6a26ff9f45363e8290372e113044a2dd2b70dd Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Mon, 21 Nov 2011 18:18:54 +0000
Subject: Fix MP3 being detected as Qt Designer
https://bugzilla.gnome.org/show_bug.cgi?id=664457
---
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 6af2c45..145dd5a 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -1584,8 +1584,8 @@ command to generate the output files.
<generic-icon name="x-office-document"/>
<sub-class-of type="application/xml"/>
<magic>
- <match type="string" value="&lt;ui" offset="0:256"/>
- <match type="string" value="&lt;UI" offset="0:256"/>
+ <match type="string" value="&lt;ui " offset="0:256"/>
+ <match type="string" value="&lt;UI " offset="0:256"/>
</magic>
<glob pattern="*.ui"/>
</mime-type>
--
cgit v0.9.0.2-2-gbebe