]> git.sesse.net Git - kdenlive/commitdiff
Add mimetype for westley files
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 27 Aug 2008 21:34:05 +0000 (21:34 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 27 Aug 2008 21:34:05 +0000 (21:34 +0000)
svn path=/branches/KDE4/; revision=2384

src/mimetypes/CMakeLists.txt
src/mimetypes/kdenlive.xml
src/mimetypes/westley.xml [new file with mode: 0644]

index f746d78fb1c1d1d65b8621c9d75abbc4c97492be..8a0e869e9c86899900008b590c9611a47f0c416d 100644 (file)
@@ -1,4 +1,4 @@
 find_package(SharedMimeInfo REQUIRED)
 
-install(FILES kdenlive.xml DESTINATION ${XDG_MIME_INSTALL_DIR})
+install(FILES kdenlive.xml westley.xml DESTINATION ${XDG_MIME_INSTALL_DIR})
 update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
\ No newline at end of file
index 14c17179445367a770afb2e3b3c3cfc11773dd1d..7e3b6803c6dbab8c4123e37726338d26eaf01285 100644 (file)
@@ -2,6 +2,7 @@
 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
   <mime-type type="application/x-kdenlive">
     <comment>Kdenlive video project document</comment>
+    <sub-class-of type="video/mlt-playlist"/>
     <glob pattern="*.kdenlive"/>
   </mime-type>
 </mime-info>
diff --git a/src/mimetypes/westley.xml b/src/mimetypes/westley.xml
new file mode 100644 (file)
index 0000000..80b9970
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+  <mime-type type="video/mlt-playlist">
+    <comment>MLT video playlist</comment>
+    <glob pattern="*.westley"/>
+    <glob pattern="*.kdenlive"/>
+  </mime-type>
+</mime-info>