File r893933.diff of Package kdepim4

Subject: kmail: Fix the "open in addressbook" action
From: wstephenson@suse.de
Bug: 
Patch-upstream: 893933
--- libkdepim/kaddrbookexternal.cpp	(revision 893932)
+++ libkdepim/kaddrbookexternal.cpp	(revision 893933)
@@ -54,7 +54,7 @@ void KAddrBookExternal::openEmail( const
   KABC::Addressee::List addresseeList = addressBook->findByEmail(email);
 
   // If KAddressbook is running, talk to it, otherwise start it.
-  QDBusInterface abinterface( "org.kde.KAddressbook", "/kaddressbook_PimApplication",
+  QDBusInterface abinterface( "org.kde.kaddressbook", "/kaddressbook_PimApplication",
                               "org.kde.KUniqueApplication" );
 
   if ( abinterface.isValid() ) {
@@ -65,8 +65,8 @@ void KAddrBookExternal::openEmail( const
     KToolInvocation::startServiceByDesktopName( "kaddressbook" );
   }
 
-  OrgKdeKAddressbookCoreInterface interface( "org.kde.KAddressbook",
-                                             "/KAddressbook",
+  OrgKdeKAddressbookCoreInterface interface( "org.kde.kaddressbook",
+                                             "/KAddressBook",
                                              QDBusConnection::sessionBus() );
   if( !addresseeList.isEmpty() ) {
     interface.showContactEditor( addresseeList.first().uid() );
@@ -118,8 +118,8 @@ void KAddrBookExternal::openAddressBook(
 void KAddrBookExternal::addNewAddressee( QWidget * )
 {
   KToolInvocation::startServiceByDesktopName( "kaddressbook" );
-  OrgKdeKAddressbookCoreInterface interface( "org.kde.KAddressbook",
-                                             "/KAddressbook",
+  OrgKdeKAddressbookCoreInterface interface( "org.kde.kaddressbook",
+                                             "/KAddressBook",
                                              QDBusConnection::sessionBus() );
   interface.newContact();
 }
Index: libkdepim/kaddrbookexternal.cpp
===================================================================
openSUSE Build Service is sponsored by