From 88bfa9d863e30e11be1a6435df3eba1624667194 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 21 Mar 2001 22:20:56 +0000 Subject: 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 --- mail/mail-config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mail/mail-config.c') 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); } -- cgit