aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2004-01-26 07:16:45 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-01-26 07:16:45 +0800
commitabe5e0ce34e5884a3f05522a97421fc244be1ab9 (patch)
treeb53833a03f21a105a581151bd1d7501c87869d85 /embed/mozilla
parentd68b6453137d04f930e398c3b068b23e76feb300 (diff)
downloadgsoc2013-epiphany-abe5e0ce34e5884a3f05522a97421fc244be1ab9.tar
gsoc2013-epiphany-abe5e0ce34e5884a3f05522a97421fc244be1ab9.tar.gz
gsoc2013-epiphany-abe5e0ce34e5884a3f05522a97421fc244be1ab9.tar.bz2
gsoc2013-epiphany-abe5e0ce34e5884a3f05522a97421fc244be1ab9.tar.lz
gsoc2013-epiphany-abe5e0ce34e5884a3f05522a97421fc244be1ab9.tar.xz
gsoc2013-epiphany-abe5e0ce34e5884a3f05522a97421fc244be1ab9.tar.zst
gsoc2013-epiphany-abe5e0ce34e5884a3f05522a97421fc244be1ab9.zip
*** empty log message ***
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/ContentHandler.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 81e980657..b6f9fca73 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -324,7 +324,16 @@ NS_METHOD GContentHandler::MIMEConfirmAction ()
gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0);
gtk_widget_show (label);
- mAction = (ContentAction) gtk_dialog_run (GTK_DIALOG (dialog));
+ response = gtk_dialog_run (GTK_DIALOG (dialog));
+
+ if (response == GTK_RESPONSE_DELETE_EVENT)
+ {
+ mAction = CONTENT_ACTION_NONE;
+ }
+ else
+ {
+ mAction = (ContentAction)response;
+ }
gtk_widget_destroy (dialog);