diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-11 17:19:22 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-11 17:19:22 -0500 |
commit | 382b6ce702f456256b7bbedf35a77fce585b28db (patch) | |
tree | 2da2ee42efcf45b06917d3a4cdf88365a8fd54fa /konq-plugins/sidebar/metabar/src/serviceloader.cpp | |
parent | a036c261d34c611ee392e1494acc0ad074446588 (diff) | |
download | tdeaddons-382b6ce702f456256b7bbedf35a77fce585b28db.tar.gz tdeaddons-382b6ce702f456256b7bbedf35a77fce585b28db.zip |
Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications
Diffstat (limited to 'konq-plugins/sidebar/metabar/src/serviceloader.cpp')
-rw-r--r-- | konq-plugins/sidebar/metabar/src/serviceloader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/konq-plugins/sidebar/metabar/src/serviceloader.cpp b/konq-plugins/sidebar/metabar/src/serviceloader.cpp index 167009e..3ff2e88 100644 --- a/konq-plugins/sidebar/metabar/src/serviceloader.cpp +++ b/konq-plugins/sidebar/metabar/src/serviceloader.cpp @@ -101,9 +101,9 @@ void ServiceLoader::loadServices(const KFileItem item, DOM::DOMString &html, int } } - if ( cfg.hasKey( "Actions" ) && cfg.hasKey( "ServiceTypes" ) ){ - const TQStringList types = cfg.readListEntry( "ServiceTypes" ); - const TQStringList excludeTypes = cfg.readListEntry( "ExcludeServiceTypes" ); + if ( cfg.hasKey( "Actions" ) && cfg.hasKey( "X-TDE-ServiceTypes" ) ){ + const TQStringList types = cfg.readListEntry( "X-TDE-ServiceTypes" ); + const TQStringList excludeTypes = cfg.readListEntry( "X-TDE-ExcludeServiceTypes" ); bool ok = false; for (TQStringList::ConstIterator it = types.begin(); it != types.end() && !ok; ++it){ |