[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: [PATCH] proper kio_mhtml support in konqueror
From: Spiros Georgaras <sngeorgaras () otenet ! gr>
Date: 2004-11-29 20:37:51
Message-ID: 200411292237.51128.sngeorgaras () otenet ! gr
[Download RAW message or body]
With the last applied patch to konq_mainwindow.cc kio_mhtml is supported (like
all other protocols) but its default action is 'get directory listing'
With this patch its default action becomes 'display index.html'
Spiros
["konqueror-mhtml-support.patch" (text/x-diff)]
Index: konq_mainwindow.cc
===================================================================
RCS file: /home/kde/kdebase/konqueror/konq_mainwindow.cc,v
retrieving revision 1.1374
diff -u -3 -p -r1.1374 konq_mainwindow.cc
--- konq_mainwindow.cc 29 Nov 2004 14:33:42 -0000 1.1374
+++ konq_mainwindow.cc 29 Nov 2004 20:25:53 -0000
@@ -692,7 +692,7 @@ bool KonqMainWindow::openView( QString s
if ( !protocol.isEmpty() )
{
url.setProtocol( protocol );
- if ( serviceType == "application/x-webarchive" )
+ if ( serviceType == "application/x-webarchive" || serviceType == "application/x-mimearchive" )
{
url.setPath( url.path() + "/index.html" );
serviceType = "text/html";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic