aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-account-gui.c2
2 files changed, 4 insertions, 1 deletions
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 <fejj@ximian.com>
+ * 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");