aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/ContentHandler.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-01-26 06:48:28 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-01-26 06:48:28 +0800
commitd68b6453137d04f930e398c3b068b23e76feb300 (patch)
tree8f62272e7c7756cc82c9b92b8d5e8f08765533f5 /embed/mozilla/ContentHandler.cpp
parent7ebc08b9e2458d83194a9f264baefda114146981 (diff)
downloadgsoc2013-epiphany-d68b6453137d04f930e398c3b068b23e76feb300.tar
gsoc2013-epiphany-d68b6453137d04f930e398c3b068b23e76feb300.tar.gz
gsoc2013-epiphany-d68b6453137d04f930e398c3b068b23e76feb300.tar.bz2
gsoc2013-epiphany-d68b6453137d04f930e398c3b068b23e76feb300.tar.lz
gsoc2013-epiphany-d68b6453137d04f930e398c3b068b23e76feb300.tar.xz
gsoc2013-epiphany-d68b6453137d04f930e398c3b068b23e76feb300.tar.zst
gsoc2013-epiphany-d68b6453137d04f930e398c3b068b23e76feb300.zip
Correct a translator name.
2004-01-25 Marco Pesenti Gritti <marco@gnome.org> * NEWS: Correct a translator name. * embed/mozilla/ContentHandler.cpp: Really cancel the download when the user told so. * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_run), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add default width/height properties.
Diffstat (limited to 'embed/mozilla/ContentHandler.cpp')
-rw-r--r--embed/mozilla/ContentHandler.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 0d315d8e5..81e980657 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -377,7 +377,11 @@ NS_METHOD GContentHandler::MIMEDoAction (void)
{
LaunchHelperApp ();
}
- else if (mAction != CONTENT_ACTION_NONE)
+ else if (mAction == CONTENT_ACTION_NONE)
+ {
+ mLauncher->Cancel ();
+ }
+ else
{
mLauncher->SaveToDisk (nsnull,PR_FALSE);
}