From 8997c57f5c1451e366a374a6e0bb74aa2f37e832 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 11 Dec 2000 23:29:55 +0000 Subject: New function to tell the code that it's ok (or not) to interact with the * session.c (mail_session_enable_interaction): New function to tell the code that it's ok (or not) to interact with the user when trying to authenticate to a service. Starts out turned off. (mail_session_request_dialog): If interaction is disabled, fail if the password isn't in the cache. * component-factory.c (owner_set_cb): Call mail_session_enable_interaction() after everything else. (This means that the IMAP password dialog will no longer pop up [under the splash screen] at startup.) svn path=/trunk/; revision=6924 --- mail/component-factory.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/component-factory.c') diff --git a/mail/component-factory.c b/mail/component-factory.c index e0774b5abd..7cf16745bb 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -151,6 +151,8 @@ owner_set_cb (EvolutionShellComponent *shell_component, mail_do_setup_folder ("Sent", &sent_folder); /* Don't proceed until those _folder variables are valid. */ mail_operation_wait_for_finish (); + + mail_session_enable_interaction (TRUE); } static void -- cgit