aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-callbacks.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 00a8dc0893..5ae5323403 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2003-01-18 Larry Ewing <lewing@ximian.com>
+ * mail-callbacks.c (save_msg_ok): e_question returns a boolean,
+ don't test for a specific value.
+
* mail-display.c (html_button_press_event): make the event
handlers return FALSE so that gtkhtml can process the events.
(on_link_clicked): call gnome_url_show with all its arguments so
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 07ccf89000..7432506a27 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2453,7 +2453,7 @@ save_msg_ok (GtkWidget *widget, gpointer user_data)
_("`%s' already exists.\nOverwrite it?"), path);
}
- if (ret == GTK_RESPONSE_OK) {
+ if (ret) {
folder = g_object_get_data ((GObject *) user_data, "folder");
uids = g_object_steal_data (G_OBJECT (user_data), "uids");
mail_save_messages (folder, uids, path, NULL, NULL);