aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-account-setup.c
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2006-05-10 16:25:25 +0800
committerSushma Rai <rsushma@src.gnome.org>2006-05-10 16:25:25 +0800
commited1fa5121bcbcf072e51c82f64c472d2d4d33ec5 (patch)
treec13fb0f7b39afe08708672198fa4a8fb3580c721 /plugins/exchange-operations/exchange-account-setup.c
parent4b4abd30438c497ec12073b1775fd37ccc34cb83 (diff)
downloadgsoc2013-evolution-ed1fa5121bcbcf072e51c82f64c472d2d4d33ec5.tar
gsoc2013-evolution-ed1fa5121bcbcf072e51c82f64c472d2d4d33ec5.tar.gz
gsoc2013-evolution-ed1fa5121bcbcf072e51c82f64c472d2d4d33ec5.tar.bz2
gsoc2013-evolution-ed1fa5121bcbcf072e51c82f64c472d2d4d33ec5.tar.lz
gsoc2013-evolution-ed1fa5121bcbcf072e51c82f64c472d2d4d33ec5.tar.xz
gsoc2013-evolution-ed1fa5121bcbcf072e51c82f64c472d2d4d33ec5.tar.zst
gsoc2013-evolution-ed1fa5121bcbcf072e51c82f64c472d2d4d33ec5.zip
Not displaying error message on cancel operation. Fixes #332131.
svn path=/trunk/; revision=31966
Diffstat (limited to 'plugins/exchange-operations/exchange-account-setup.c')
-rw-r--r--plugins/exchange-operations/exchange-account-setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c
index ce63d1ef06..32b66f9e10 100644
--- a/plugins/exchange-operations/exchange-account-setup.c
+++ b/plugins/exchange-operations/exchange-account-setup.c
@@ -464,8 +464,9 @@ owa_authenticate_user(GtkWidget *button, EConfig *config)
valid = e2k_validate_user (owa_url, &url->user, exchange_params,
&remember_password, &result);
- if (!valid)
+ if (!valid && result != E2K_AUTOCONFIG_CANCELLED)
print_error (owa_url, result);
+
camel_url_set_host (url, valid ? exchange_params->host : "");
if (valid) {