Branch: master

292a3a47 2014-10-11 17:19:18 Timothy Pearson
Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications
M src/kmplayer.desktop
M src/kmplayer_koffice.desktop
M src/kmplayer_part.desktop
diff --git a/src/kmplayer.desktop b/src/kmplayer.desktop
index b35115c..b5d14dc 100644
--- a/src/kmplayer.desktop
+++ b/src/kmplayer.desktop
@@ -3,7 +3,7 @@
 Type=Application
 Exec=kmplayer -caption "%c" %i %m %U
 Icon=kmplayer.png
-DocPath=kmplayer/index.html
+X-DocPath=kmplayer/index.html
 Comment=TDE interface for MPlayer
 Comment[af]=TDE koppelvlak na MPlayer
 Comment[ar]=���������� TDE �������� MPlayer
@@ -52,7 +52,7 @@
 Name[ta]=���������������������������������
 Name[xx]=xxKMPlayerxx
 MimeType=application/ogg;application/smil;application/vnd.ms-asf;application/vnd.rn-realmedia;application/x-kmplayer;application/x-mplayer2;application/x-ogg;application/xspf+xml;video/avi;video/mediaplayer;video/mp4;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-avi;video/x-flic;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmp;video/x-ms-wmv;video/x-ms-wvx;video/x-ogm;video/x-theora;uri/mms;uri/pnm;uri/rtspt;uri/rtspu;
-InitialPreference=5
+X-TDE-InitialPreference=5
 Categories=Qt;TDE;AudioVideo;
 GenericName=Media Player
 GenericName[af]=Media Speler
diff --git a/src/kmplayer_koffice.desktop b/src/kmplayer_koffice.desktop
index 13f8b74..225ca8e 100644
--- a/src/kmplayer_koffice.desktop
+++ b/src/kmplayer_koffice.desktop
@@ -10,6 +10,6 @@
 MimeType=application/ogg;application/smil;application/vnd.ms-asf;application/vnd.rn-realmedia;application/x-kmplayer;application/x-mplayer2;application/x-ogg;video/avi;video/mediaplayer;video/mp4;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-avi;video/x-flic;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmp;video/x-ms-wmv;video/x-ogm;video/x-theora;uri/mms;uri/pnm;uri/rtspt;uri/rtspu;
 Type=Service
 Icon=kmplayer
-ServiceTypes=KOfficePart,KParts/ReadOnlyPart,KParts/ReadWritePart,Browser/View,KMediaPlayer/Player
+X-TDE-ServiceTypes=KOfficePart,KParts/ReadOnlyPart,KParts/ReadWritePart,Browser/View,KMediaPlayer/Player
 X-TDE-NativeMimeType=application/x-kmplayer
-InitialPreference=5
+X-TDE-InitialPreference=5
diff --git a/src/kmplayer_part.desktop b/src/kmplayer_part.desktop
index 2570e07..d1393d8 100644
--- a/src/kmplayer_part.desktop
+++ b/src/kmplayer_part.desktop
@@ -83,6 +83,6 @@
 MimeType=application/ogg;application/smil;application/vnd.ms-asf;application/vnd.rn-realmedia;application/x-kmplayer;application/x-mplayer2;application/x-ogg;application/xspf+xml;video/avi;video/mediaplayer;video/mp4;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-avi;video/x-flic;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmp;video/x-ms-wmv;video/x-ms-wvx;video/x-ogm;video/x-theora;uri/mms;uri/pnm;uri/rtspt;uri/rtspu;
 Type=Service
 Icon=kmplayer
-ServiceTypes=KParts/ReadOnlyPart,Browser/View,KMediaPlayer/Player
+X-TDE-ServiceTypes=KParts/ReadOnlyPart,Browser/View,KMediaPlayer/Player
 X-TDE-BrowserView-PluginsInfo=kmplayer/pluginsinfo
-InitialPreference=5
+X-TDE-InitialPreference=5