aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--NEWS2
-rw-r--r--embed/mozilla/ContentHandler.cpp11
3 files changed, 17 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 344d77e1f..5481d9c2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-26 Marco Pesenti Gritti <marco@gnome.org>
+
+ * embed/mozilla/ContentHandler.cpp:
+
+ closing dialog == cancel
+
2004-01-25 Marco Pesenti Gritti <marco@gnome.org>
* NEWS:
diff --git a/NEWS b/NEWS
index 3a37d6a2e..4804ec04a 100644
--- a/NEWS
+++ b/NEWS
@@ -56,7 +56,7 @@ Translations
* Alastair McKinstry (ga)
* Changwoo Ryu (ko)
* Hasbullah Bin Pit (ms)
- * Vincent van Adrighem (nl)
+ * Reinout van Schouwen (nl)
* Kjartan Maraas (no)
* Artur Flinta (pl)
* Danilo Ĺ egan (sr, sr@Latn)
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);