summaryrefslogtreecommitdiffstats
path: root/src/dolphincontextmenu.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-11 17:19:16 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-11 17:19:16 -0500
commit5b1f358aad613d6b5de7e02efffefe5d6e7bc883 (patch)
treef24ce86870af711b367c2de3e64e3f1aa0376a57 /src/dolphincontextmenu.cpp
parent04adf69a8d983ab9e55043bf9de89fc6ab7d0d56 (diff)
downloaddolphin-5b1f358aad613d6b5de7e02efffefe5d6e7bc883.tar.gz
dolphin-5b1f358aad613d6b5de7e02efffefe5d6e7bc883.zip
Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications
Diffstat (limited to 'src/dolphincontextmenu.cpp')
-rw-r--r--src/dolphincontextmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index 7864b9f..1b9dbbf 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -367,8 +367,8 @@ void DolphinContextMenu::insertActionItems(TDEPopupMenu* popup,
for (TQStringList::ConstIterator entryIt = entries.begin(); entryIt != entries.end(); ++entryIt) {
KSimpleConfig cfg(*dirIt + *entryIt, true);
cfg.setDesktopGroup();
- if ((cfg.hasKey("Actions") || cfg.hasKey("X-TDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) {
- const TQStringList types = cfg.readListEntry("ServiceTypes");
+ if ((cfg.hasKey("Actions") || cfg.hasKey("X-TDE-GetActionMenu")) && cfg.hasKey("X-TDE-ServiceTypes")) {
+ const TQStringList types = cfg.readListEntry("X-TDE-ServiceTypes");
for (TQStringList::ConstIterator it = types.begin(); it != types.end(); ++it) {
// check whether the mime type is equal or whether the
// mimegroup (e. g. image/*) is supported