| Summary: | Magic for Glade files | ||
|---|---|---|---|
| Product: | shared-mime-info | Reporter: | Yann Bloch <yann.bloch> |
| Component: | freedesktop.org.xml | Assignee: | Jonathan Blandford <jrb> |
| Status: | RESOLVED NOTOURBUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | high | ||
| Version: | unspecified | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
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.
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="<!DOCTYPE glade-interface" /> </magic> Regards, Yann.