diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-02-06 04:13:59 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-02-06 04:13:59 +0800 |
commit | 7301749d713555c513029cab6c957c7ce4f63306 (patch) | |
tree | 8696f254e19e2193fe74f91d7f3976db90776364 /mail/mail-account-editor.c | |
parent | 5df96e40dc8ec64173e7a008d50bd08a731a3f04 (diff) | |
download | gsoc2013-evolution-7301749d713555c513029cab6c957c7ce4f63306.tar gsoc2013-evolution-7301749d713555c513029cab6c957c7ce4f63306.tar.gz gsoc2013-evolution-7301749d713555c513029cab6c957c7ce4f63306.tar.bz2 gsoc2013-evolution-7301749d713555c513029cab6c957c7ce4f63306.tar.lz gsoc2013-evolution-7301749d713555c513029cab6c957c7ce4f63306.tar.xz gsoc2013-evolution-7301749d713555c513029cab6c957c7ce4f63306.tar.zst gsoc2013-evolution-7301749d713555c513029cab6c957c7ce4f63306.zip |
Updated to not connect when getting a list of authtypes. (transport_next):
2001-02-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (incoming_next): Updated to not connect when
getting a list of authtypes.
(transport_next): No longer connects - again, this is
useless. Read the apply_changes argument for the reason why.
* mail-account-editor.c (apply_changes): Updated. Set the
'connect' argument to FALSE for now, this basically means that the
call is worthless tho so it may be best to either get rid of the
checks altogether or else make it connect.
(source_auth_init): Don't connect here, it's just plain annoying.
(transport_construct_authmenu): Same here.
* mail-config.c (mail_config_check_service): Now takes a connect
argument.
svn path=/trunk/; revision=7981
Diffstat (limited to 'mail/mail-account-editor.c')
-rw-r--r-- | mail/mail-account-editor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c index 339d6cc737..4d73acb009 100644 --- a/mail/mail-account-editor.c +++ b/mail/mail-account-editor.c @@ -221,7 +221,7 @@ apply_changes (MailAccountEditor *editor) /* check to make sure the source works */ if (source_url) { - if (mail_config_check_service (source_url, CAMEL_PROVIDER_STORE, NULL)) { + if (mail_config_check_service (source_url, CAMEL_PROVIDER_STORE, FALSE, NULL)) { /* save the password if we were requested to do so */ if (account->source->save_passwd && source_url->passwd) { mail_session_set_password (account->source->url, source_url->passwd); @@ -234,7 +234,7 @@ apply_changes (MailAccountEditor *editor) } /* check to make sure the transport works */ - if (!mail_config_check_service (transport_url, CAMEL_PROVIDER_TRANSPORT, NULL)) + if (!mail_config_check_service (transport_url, CAMEL_PROVIDER_TRANSPORT, FALSE, NULL)) retval = FALSE; camel_url_free (transport_url); @@ -321,7 +321,7 @@ source_auth_init (MailAccountEditor *editor, CamelURL *url) menu = gtk_menu_new (); gtk_option_menu_remove_menu (editor->source_auth); - if (!url || !mail_config_check_service (url, CAMEL_PROVIDER_STORE, &authtypes)) { + if (!url || !mail_config_check_service (url, CAMEL_PROVIDER_STORE, FALSE, &authtypes)) { gtk_option_menu_set_menu (editor->source_auth, menu); return; @@ -385,7 +385,7 @@ transport_construct_authmenu (MailAccountEditor *editor, CamelURL *url) menu = gtk_menu_new (); gtk_option_menu_remove_menu (editor->transport_auth); - if (!url || !mail_config_check_service (url, CAMEL_PROVIDER_TRANSPORT, &authtypes)) { + if (!url || !mail_config_check_service (url, CAMEL_PROVIDER_TRANSPORT, FALSE, &authtypes)) { gtk_option_menu_set_menu (editor->transport_auth, menu); return; |