diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-29 01:00:53 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-29 01:00:53 +0800 |
commit | 55864c766c731f91d6f2bb48309c41b2648caaad (patch) | |
tree | 9e691128264522ff05da201e17c0e4674c828b36 | |
parent | 03b78aeacf4daa5a3cd0adfaa1cfcac802dd82aa (diff) | |
download | gsoc2013-evolution-55864c766c731f91d6f2bb48309c41b2648caaad.tar gsoc2013-evolution-55864c766c731f91d6f2bb48309c41b2648caaad.tar.gz gsoc2013-evolution-55864c766c731f91d6f2bb48309c41b2648caaad.tar.bz2 gsoc2013-evolution-55864c766c731f91d6f2bb48309c41b2648caaad.tar.lz gsoc2013-evolution-55864c766c731f91d6f2bb48309c41b2648caaad.tar.xz gsoc2013-evolution-55864c766c731f91d6f2bb48309c41b2648caaad.tar.zst gsoc2013-evolution-55864c766c731f91d6f2bb48309c41b2648caaad.zip |
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
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-ops.c | 3 |
2 files changed, 7 insertions, 1 deletions
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 <danw@helixcode.com> + + * mail-ops.c (fetch_mail): don't put up an error message if the + user cancels the password dialog. + 2000-05-27 Not Zed <NotZed@HelixCode.com> * 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; } |