diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-11 01:17:43 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-11 01:17:43 +0800 |
commit | 3aeaca9fa993a32e9842678b9d85b1f966992455 (patch) | |
tree | 21a737da2c7391ba51000e91673870f98b091c17 /mail | |
parent | 731a90ea4af87c16fff3c367bcb786f18792a66f (diff) | |
download | gsoc2013-evolution-3aeaca9fa993a32e9842678b9d85b1f966992455.tar gsoc2013-evolution-3aeaca9fa993a32e9842678b9d85b1f966992455.tar.gz gsoc2013-evolution-3aeaca9fa993a32e9842678b9d85b1f966992455.tar.bz2 gsoc2013-evolution-3aeaca9fa993a32e9842678b9d85b1f966992455.tar.lz gsoc2013-evolution-3aeaca9fa993a32e9842678b9d85b1f966992455.tar.xz gsoc2013-evolution-3aeaca9fa993a32e9842678b9d85b1f966992455.tar.zst gsoc2013-evolution-3aeaca9fa993a32e9842678b9d85b1f966992455.zip |
Don't save the authmech if the username doesn't exist. Fixes bug #9474.
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.
svn path=/trunk/; revision=12735
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-account-gui.c | 2 |
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"); |