[Sugar-devel] [PATCH] fix recognition of JEBs outside of data store

Sascha Silbe sascha-pgp at silbe.org
Sun Jul 4 17:08:06 EDT 2010


Add a MIME type definition for Journal Entry Bundles (JEBs) so they get
detected properly if encountered outside of the data store.

Signed-off-by: Sascha Silbe <sascha-pgp at silbe.org>

---
 data/sugar.xml.in |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/data/sugar.xml.in b/data/sugar.xml.in
index 6a7f253..9300a45 100644
--- a/data/sugar.xml.in
+++ b/data/sugar.xml.in
@@ -8,4 +8,8 @@
     <_comment>Sugar content bundle</_comment>
     <glob pattern="*.xol"/>
   </mime-type>
-</mime-info>
\ No newline at end of file
+  <mime-type type="application/vnd.olpc-journal-entry">
+    <_comment>Sugar Journal entry bundle</_comment>
+    <glob pattern="*.xoj"/>
+  </mime-type>
+</mime-info>
-- 
tg: (6b92d37..) t/jeb-mime-fix (depends on: upstream/master)


More information about the Sugar-devel mailing list