diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-22 06:20:56 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-22 06:20:56 +0800 |
commit | 88bfa9d863e30e11be1a6435df3eba1624667194 (patch) | |
tree | 161808499a4ac524d78fd845ea57b8521330118b /mail/mail-config.c | |
parent | 5d562c3d3d879d05c75ecb300c53e0b5ae0120fc (diff) | |
download | gsoc2013-evolution-88bfa9d863e30e11be1a6435df3eba1624667194.tar.gz gsoc2013-evolution-88bfa9d863e30e11be1a6435df3eba1624667194.tar.zst gsoc2013-evolution-88bfa9d863e30e11be1a6435df3eba1624667194.zip |
Use the new URL part macros
* mail-config-druid.c (incoming_check, incoming_type_changed,
transport_check, transport_type_changed):
* mail-account-editor.c (transport_type_changed, source_check):
Use the new URL part macros
* mail-config.c (check_service_check): Use provider authtype list
if not connecting.
svn path=/trunk/; revision=8873
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index 9630def2df..a4748e35e5 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -896,7 +896,10 @@ static void check_service_check(struct _mail_msg *mm) service = camel_session_get_service (session, m->url, m->type, &mm->ex); if (!service) return; - *m->authtypes = camel_service_query_auth_types (service, m->connect, &mm->ex); + if (m->connect) + *m->authtypes = camel_service_query_auth_types (service, &mm->ex); + else + *m->authtypes = g_list_copy (service->provider->authtypes); } else if (m->connect) { service = camel_session_get_service_connected (session, m->url, m->type, &mm->ex); } |