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 /mail/mail-ops.c | |
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
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |