[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_3_BRANCH: kdepim/korganizer
From:       David Faure <faure () kde ! org>
Date:       2005-01-08 1:33:22
Message-ID: 20050108013322.8B6A417D06 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Backport from HEAD: when looking at an event with a kmail attachment, and clicking
on that attachment, ensure that kmail is running before using DCOP, and if it's
running, raise it (works with standalone and with kontact).


  M +2 -0      urihandler.cpp   1.8.2.2


--- kdepim/korganizer/urihandler.cpp  #1.8.2.1:1.8.2.2
@@ -42,4 +42,6 @@ bool UriHandler::process( const QString 
 #ifndef KORG_NODCOP
   if ( uri.startsWith( "kmail:" ) ) {
+    // make sure kmail is running or the part is shown
+    kapp->startServiceByDesktopPath("kmail");
     int pos = uri.find( "/", 8 );
     if ( pos > 8 ) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic