Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications

pull/1/head
Timothy Pearson 11 years ago
parent 0c27e80120
commit c498e25e50

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Actions=ExtractSoundKonverter Actions=ExtractSoundKonverter
ServiceTypes=media/audiocd X-TDE-ServiceTypes=media/audiocd
Icon=soundkonverter Icon=soundkonverter
X-TDE-Priority=TopLevel X-TDE-Priority=TopLevel

@ -478,7 +478,7 @@ void Config::writeServiceMenu()
num = 0; num = 0;
content = ""; content = "";
content += "[Desktop Entry]\n"; content += "[Desktop Entry]\n";
content += "ServiceTypes="; content += "X-TDE-ServiceTypes=";
for( TQValueList<FormatItem>::Iterator it = formats.begin(); it != formats.end(); ++it ) { 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" ) { // if( (*it).encoder != 0 && binaries[(*it).encoder->enc.bin] != "" && (*it).mime_types.first() != "application/octet-stream" ) {

@ -13,4 +13,4 @@ GenericName=Audio Converter and CD Ripper
GenericName[de]=Audiodateien Konvertierer und CD Ripper GenericName[de]=Audiodateien Konvertierer und CD Ripper
GenericName[fr]=Convertisseur Audio GenericName[fr]=Convertisseur Audio
Terminal=false Terminal=false
DocPath=soundkonverter/index.html X-DocPath=soundkonverter/index.html

Loading…
Cancel
Save