File hotplug-kde3.diff of Package kdelibs4

Subject: Hotplug support for KDE3 applications
From: Lubos Lunak
Feature: bnc#378338
Patch-upstream: never
Relates: kdebase4-runtime/hotplug-kde3.diff, kdebase4-workspace/hotplug-kde3.diff

Index: kdecore/services/kservice.cpp
===================================================================
--- kdecore/services/kservice.cpp.orig
+++ kdecore/services/kservice.cpp
@@ -99,6 +99,8 @@ void KServicePrivate::init( const KDeskt
           m_bValid = false;
           return;*/
         m_strType = "Application";
+        if( entryPath.contains( "/konqueror/servicemenus" ))
+            m_strType = "Service"; // workaround for bnc#378338, KDE3 entries there miss Type=
     } else if ( m_strType != "Application" && m_strType != "Service" )
     {
         kWarning(7012) << "The desktop entry file " << entryPath
openSUSE Build Service is sponsored by