From 5b1f358aad613d6b5de7e02efffefe5d6e7bc883 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 11 Oct 2014 17:19:16 -0500 Subject: Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications --- src/infosidebarpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/infosidebarpage.cpp') diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index cf6f527..5e20c5d 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -443,8 +443,8 @@ void InfoSidebarPage::insertActions() 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 -- cgit v1.2.1