konqueror won't open links in external applications
David Faure
dfaure at klaralvdalens-datakonsult.se
Tue Mar 16 16:56:13 GMT 2004
On Monday 15 March 2004 22:57, Leo Savernik wrote:
> Hello,
>
> Has anybody noticed this beside me? I have pdfs associated with acroread as
> external application and set the "open in external viewer". This works for
> file parts, but for khtml, whenever I click a link to a pdf/ps, I get a
> dialog on which I click "open", and the document is loaded in a kghostview
> kpart instead in the acroread/kghostview standalone app, replacing the
> webpage (mmb opens a new konqueror window with the kghostview part embedded).
This is news to me.
Hmm. I think I see where it could come from.
Does this help?
Index: konq_mainwindow.cc
===================================================================
RCS file: /home/kde/kdebase/konqueror/konq_mainwindow.cc,v
retrieving revision 1.1293
diff -u -p -r1.1293 konq_mainwindow.cc
--- konq_mainwindow.cc 13 Mar 2004 13:15:51 -0000 1.1293
+++ konq_mainwindow.cc 16 Mar 2004 16:55:51 -0000
@@ -812,7 +812,7 @@ bool KonqMainWindow::openView( QString s
KParts::BrowserRun::AskSaveResult res = KParts::BrowserRun::askEmbedOrSave(
url, serviceType, suggestedFilename );
if ( res == KParts::BrowserRun::Open )
- forceAutoEmbed = true;
+ ; //forceAutoEmbed = true;
else if ( res == KParts::BrowserRun::Cancel )
return true; // handled, don't do anything else
else { // Save
--
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
More information about the kfm-devel
mailing list