aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-03-24 23:49:01 +0800
committerChristian Persch <chpe@src.gnome.org>2005-03-24 23:49:01 +0800
commit5a3efe95b1e8d87f406aa0114d95d64e0a02203f (patch)
treefd8640c15e136a9be2f30b848c7aacf90d9a80d5 /embed
parent2316eb86a54a250a8fd01c72c477159e4fbb7556 (diff)
downloadgsoc2013-epiphany-5a3efe95b1e8d87f406aa0114d95d64e0a02203f.tar.gz
gsoc2013-epiphany-5a3efe95b1e8d87f406aa0114d95d64e0a02203f.tar.zst
gsoc2013-epiphany-5a3efe95b1e8d87f406aa0114d95d64e0a02203f.zip
Treat unknown mime types as 'unsafe'. Patch by Jean-François Rameau, part
2005-03-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Treat unknown mime types as 'unsafe'. Patch by Jean-François Rameau, part of bug #170493.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/ContentHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index d590905db..4a7cc996d 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -272,7 +272,7 @@ NS_METHOD GContentHandler::MIMEConfirmAction ()
(mAction == CONTENT_ACTION_OPEN_TMP) ?
GTK_STOCK_OPEN : EPHY_STOCK_DOWNLOAD;
- if (mPermission == EPHY_MIME_PERMISSION_UNSAFE && mHelperApp)
+ if (mPermission != EPHY_MIME_PERMISSION_SAFE && mHelperApp)
{
dialog = gtk_message_dialog_new
(parentWindow, GTK_DIALOG_DESTROY_WITH_PARENT,