summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-11 17:19:20 -0500
committerTimothy Pearson <[email protected]>2014-10-11 17:19:20 -0500
commitc498e25e50025ea570ae3d28008d404dd4ef9edd (patch)
tree46bfed61c3d53d6699b902532882611462c7905a
parent0c27e80120306d43cede9d10f70142bbcd2ba879 (diff)
downloadsoundkonverter-c498e25e50025ea570ae3d28008d404dd4ef9edd.tar.gz
soundkonverter-c498e25e50025ea570ae3d28008d404dd4ef9edd.zip
Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications
-rwxr-xr-xsrc/audiocd_extract_with_soundkonverter.desktop2
-rwxr-xr-xsrc/config.cpp2
-rwxr-xr-xsrc/soundkonverter.desktop2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/audiocd_extract_with_soundkonverter.desktop b/src/audiocd_extract_with_soundkonverter.desktop
index 16eb8c4..6233551 100755
--- a/src/audiocd_extract_with_soundkonverter.desktop
+++ b/src/audiocd_extract_with_soundkonverter.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Actions=ExtractSoundKonverter
-ServiceTypes=media/audiocd
+X-TDE-ServiceTypes=media/audiocd
Icon=soundkonverter
X-TDE-Priority=TopLevel
diff --git a/src/config.cpp b/src/config.cpp
index 52ebd50..d33d975 100755
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -478,7 +478,7 @@ void Config::writeServiceMenu()
num = 0;
content = "";
content += "[Desktop Entry]\n";
- content += "ServiceTypes=";
+ content += "X-TDE-ServiceTypes=";
for( TQValueList<FormatItem>::Iterator it = formats.begin(); it != formats.end(); ++it ) {
// if( (*it).encoder != 0 && binaries[(*it).encoder->enc.bin] != "" && (*it).mime_types.first() != "application/octet-stream" ) {
diff --git a/src/soundkonverter.desktop b/src/soundkonverter.desktop
index 79e9e3b..1f22255 100755
--- a/src/soundkonverter.desktop
+++ b/src/soundkonverter.desktop
@@ -13,4 +13,4 @@ GenericName=Audio Converter and CD Ripper
GenericName[de]=Audiodateien Konvertierer und CD Ripper
GenericName[fr]=Convertisseur Audio
Terminal=false
-DocPath=soundkonverter/index.html
+X-DocPath=soundkonverter/index.html