summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar
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
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')
-rw-r--r--konq-plugins/sidebar/mediaplayer/mediaplayerplugin.desktop2
-rw-r--r--konq-plugins/sidebar/metabar/src/serviceloader.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/sidebar/mediaplayer/mediaplayerplugin.desktop b/konq-plugins/sidebar/mediaplayer/mediaplayerplugin.desktop
index 8fb14ef..36670fe 100644
--- a/konq-plugins/sidebar/mediaplayer/mediaplayerplugin.desktop
+++ b/konq-plugins/sidebar/mediaplayer/mediaplayerplugin.desktop
@@ -112,4 +112,4 @@ Comment[zh_TW]=在 Konqueror 導覽面板上的媒體播放器外掛程式
Icon=konqsidebar_mediaplayer
X-TDE-ParentApp=konqueror
X-TDE-KonqSidebarUniversal=true
-DocPath=konq-plugins/mediaplayer/index.html
+X-DocPath=konq-plugins/mediaplayer/index.html
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){