Bug 854 - Magic for Glade files
Summary: Magic for Glade files
Status: RESOLVED NOTOURBUG
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-11 04:50 UTC by Yann Bloch
Modified: 2004-08-15 14:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Yann Bloch 2004-07-11 04:50:11 UTC
Hello

Glade files have no magic yet. This causes Nautilus to complain about the
reported file type (text/xml) being different from the guess at the file's
extension (.glade -> application/x-glade). Whether this is the right thing to do
for nautilus is questionnable, but anyway it can't be wrong to add some magic.
Here a proposal that works for me (don't know if this is the best way to do it...):

    <magic priority="50">
      <match offset="0:256" type="string" value="&lt;!DOCTYPE glade-interface" />
    </magic>

Regards,
Yann.
Comment 1 Christophe Fergeau 2004-08-16 07:22:17 UTC
This is up to glade to register its mime types with the shared mime system, you
should file a bug against glade on bugzilla.gnome.org


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.