From 55864c766c731f91d6f2bb48309c41b2648caaad Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 28 May 2000 17:00:53 +0000 Subject: don't put up an error message if the user cancels the password dialog. * mail-ops.c (fetch_mail): don't put up an error message if the user cancels the password dialog. svn path=/trunk/; revision=3245 --- mail/ChangeLog | 5 +++++ mail/mail-ops.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 152da07598..557cadf3e8 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-05-28 Dan Winship + + * mail-ops.c (fetch_mail): don't put up an error message if the + user cancels the password dialog. + 2000-05-27 Not Zed * Makefile.am (SHELL_OBJS): Include mail storage so we can diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 873dc7e6ab..150231297e 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -161,7 +161,8 @@ fetch_mail (GtkWidget *button, gpointer user_data) camel_service_connect_with_url (CAMEL_SERVICE (store), url, ex); if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE) { - mail_exception_dialog ("Unable to get new mail", ex, fb); + if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_USER_CANCEL) + mail_exception_dialog ("Unable to get new mail", ex, fb); goto cleanup; } -- cgit v1.2.3