Version: CVS Trunk (using KDE KDE 3.1) Installed from: Gentoo Packages Compiler: gcc 3.2.1 OS: Linux When clicking a link in a chat window, the system ignores the html (or whatever mimetype) default application. This is a simple fix, so I added a patch below. --- libkopete/ui/chatview.cpp 2003-02-16 03:03:36.000000000 -0500 +++ /home/mjones/chatview.cpp 2003-02-16 03:03:29.000000000 -0500 @@ -29,6 +29,7 @@ete $ diff -Naur protocols/oscar/oscaruserinfo.h ~/kopete-build/ #include <kiconloader.h>ff -Naur protocols/oscar/oscaruserinfo.h ~/oscaruserinfo #include <kapplication.h> +#include <krun.h> #include <kconfig.h> #include <kdebug.h> #include <kdialog.h> @@ -494,11 +495,7 @@ { kdDebug(14010) << k_funcinfo << "url=" << url.url() << endl; - // FIXME: Doesn't KRun do the mime type check automagically for us? - Martijn - if( url.protocol() == QString::fromLatin1( "mailto" ) ) - kapp->invokeMailer( url.url() ); - else - kapp->invokeBrowser( url.url() ); + new KRun( url ); }
Subject: Re: [Kopete-devel] New: Improper link handling in chat window Looks like Stefan just committed a fix for this, but forgot to close the bug :) Stefan: this one is safe to backport to 0.6.1 btw so Matthew doesn't have to wait for Kopete 0.7 ;)
And again this shows that I shouldn't work on several things at once ;)