[pitivi] Register mimetypes for the new xges project format
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Register mimetypes for the new xges project format
- Date: Thu, 4 Apr 2013 20:21:54 +0000 (UTC)
commit ff50eb2afb5d8fa6b218cf77d3ddb8d4e608e883
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date: Tue Mar 19 16:45:07 2013 -0400
Register mimetypes for the new xges project format
data/pitivi.desktop.in.in | 2 +-
pitivi.xml | 12 ++++++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/data/pitivi.desktop.in.in b/data/pitivi.desktop.in.in
index 1799a33..8967ad3 100644
--- a/data/pitivi.desktop.in.in
+++ b/data/pitivi.desktop.in.in
@@ -7,7 +7,7 @@ Terminal=false
Type=Application
Icon=pitivi
Categories=GNOME;GTK;AudioVideo;AudioVideoEditing;
-MimeType=text/x-xptv;
+MimeType=text/x-xges;text/x-xptv;
StartupNotify=true
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=pitivi
diff --git a/pitivi.xml b/pitivi.xml
index 41e3162..7ee775b 100644
--- a/pitivi.xml
+++ b/pitivi.xml
@@ -2,10 +2,18 @@
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="text/x-xptv">
<sub-class-of type="text/plain"/>
- <comment>PiTiVi Project File</comment>
+ <comment>Legacy PiTiVi project file</comment>
<glob pattern="*.xptv"/>
- <magic priority="20">
+ <magic priority="50">
<match value="<pitivi" type="string" offset="0"/>
</magic>
</mime-type>
+ <mime-type type="text/x-xges">
+ <sub-class-of type="text/plain"/>
+ <comment>GStreamer Editing Services project file</comment>
+ <glob pattern="*.xges"/>
+ <magic priority="50">
+ <match value="<ges" type="string" offset="0"/>
+ </magic>
+ </mime-type>
</mime-info>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]