[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/keditfiletype
From: David Faure <faure () kde ! org>
Date: 2009-11-27 20:55:27
Message-ID: 1259355327.120686.25606.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1055324 by dfaure:
sync with BrowserOpenOrSaveQuestionPrivate::autoEmbedMimeType
M +2 -4 filetypedetails.cpp
--- trunk/KDE/kdebase/runtime/keditfiletype/filetypedetails.cpp #1055323:1055324
@@ -288,7 +288,7 @@
if (mime) {
// SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC
// NOTE: Keep this function in sync with
- // kdelibs/kparts/browserrun.cpp BrowserRun::askEmbedOrSave()
+ // kdelibs/kparts/browseropenorsavequestion.cpp \
BrowserOpenOrSaveQuestionPrivate::autoEmbedMimeType
// Don't ask for:
// - html (even new tabs would ask, due to about:blank!)
@@ -297,14 +297,12 @@
// e.g. postscript is different, because takes longer to read, so
// it's more likely that the user might want to save it.
// - multipart/* ("server push", see kmultipart)
- // - other strange 'internal' mimetypes like print/manager...
if ( mime->is( "text/html" ) ||
mime->is( "application/xml" ) ||
mime->is( "inode/directory" ) ||
mimeType.startsWith( "image" ) ||
mime->is( "multipart/x-mixed-replace" ) ||
- mime->is( "multipart/replace" ) ||
- mimeType.startsWith( "print" ) )
+ mime->is( "multipart/replace" ) )
{
neverAsk = true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic