summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/metabar/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-11 17:19:22 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-11 17:19:22 -0500
commit382b6ce702f456256b7bbedf35a77fce585b28db (patch)
tree2da2ee42efcf45b06917d3a4cdf88365a8fd54fa /konq-plugins/sidebar/metabar/src
parenta036c261d34c611ee392e1494acc0ad074446588 (diff)
downloadtdeaddons-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')
-rw-r--r--konq-plugins/sidebar/metabar/src/serviceloader.cpp6
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){