Bug#235584: Mime magic for glade missing

Tom Parker Tom Parker <palfrey@bits.bris.ac.uk>, 235584@bugs.debian.org
Mon, 1 Mar 2004 09:33:43 +0000 (GMT)


Package: gnome-mime-data
Version: 2.4.1-2

The mime magic file doesn't contain an auto-detect for glade files, they
are marked as text/xml instead of application/x-glade. Patch to fix this
is below

--- gnome-vfs-mime-magic        Mon Mar  1 10:34:02 2004
+++ gnome-vfs-mime-magic.fixed  Mon Mar  1 10:29:15 2004
@@ -128,6 +128,8 @@
 0:64   string          \<!DOCTYPE\ NETSCAPE-Bookmark-file-1\>  application/x-netscape-bookmarks
 0:64   string          \<ephy_bookmarks                        application/x-epiphany-bookmarks

+0:256  string          \<!DOCTYPE\ glade                       application/x-glade
+
 # svg rules need to go before html
 0:256  string          \<!DOCTYPE\ svg                         image/svg+xml
 0:64   string          \<svg                                   image/svg+xml