From 3aeaca9fa993a32e9842678b9d85b1f966992455 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 10 Sep 2001 17:17:43 +0000 Subject: Don't save the authmech if the username doesn't exist. Fixes bug #9474. 2001-09-10 Jeffrey Stedfast * mail-account-gui.c (save_service): Don't save the authmech if the username doesn't exist. Fixes bug #9474. svn path=/trunk/; revision=12735 --- mail/ChangeLog | 3 +++ mail/mail-account-gui.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 1c6011e2d2..3d61c9cc64 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2001-09-10 Jeffrey Stedfast + * mail-account-gui.c (save_service): Don't save the authmech if + the username doesn't exist. Fixes bug #9474. + * mail-callbacks.c (do_edit_messages): Remove some mailer-set headers. Fixes bug #9462. diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index bb9150de7c..c45437e3de 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -1523,7 +1523,7 @@ save_service (MailAccountGuiService *gsvc, GHashTable *extra_config, } if (CAMEL_PROVIDER_ALLOWS (gsvc->provider, CAMEL_URL_PART_AUTH) && - GTK_WIDGET_IS_SENSITIVE (gsvc->authtype) && gsvc->authitem) { + GTK_WIDGET_IS_SENSITIVE (gsvc->authtype) && gsvc->authitem && url->user) { CamelServiceAuthType *authtype; authtype = gtk_object_get_data (GTK_OBJECT (gsvc->authitem), "authtype"); -- cgit