diff options
author | Larry Ewing <lewing@ximian.com> | 2003-01-19 13:17:04 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2003-01-19 13:17:04 +0800 |
commit | e528cb37515fabaea482c38f1ed38216b870bfa8 (patch) | |
tree | 198e6bb74a7a1c3d805cc5081742b916e3e22740 /mail | |
parent | 90b99c2c2b98219701208552521ab13db8a2af71 (diff) | |
download | gsoc2013-evolution-e528cb37515fabaea482c38f1ed38216b870bfa8.tar.gz gsoc2013-evolution-e528cb37515fabaea482c38f1ed38216b870bfa8.tar.zst gsoc2013-evolution-e528cb37515fabaea482c38f1ed38216b870bfa8.zip |
e_question returns a boolean, don't test for a specific value.
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.
svn path=/trunk/; revision=19518
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 2 |
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); |