[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: changing default browsers
From: Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date: 2001-06-26 21:00:26
[Download RAW message or body]
On Sonntag, 24. Juni 2001 22:53 dep wrote:
> i pass along this question, from a friend who generally likes
> konqueror but often has to go through whole lists of urls in mail
> messages and cannot wait for konqueror to spawn a whole new instance
> of itself every single time: is there any way, even by source code
> hack, to change the call for urls from konqueror ro opera? reason it,
> opera spawns a new window in a running instance almost instantly, and
> in this one particular circumstance that would save a lot of time.
in kmmainwin.cpp, there is
(void) new KRun( aUrl );
You might replace this with
if ( aURL.protocol() == "http" ) {
KURL::List urls;
urls << aUrl;
KRun::run( "opera", urls );
}
else
(void) new KRun( aUrl );
if you only want opera for http urls, for example.
HTH,
Carsten Pfeiffer
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic