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/mail-session.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mail/mail-session.h') diff --git a/mail/mail-session.h b/mail/mail-session.h index 3df9516156..18d54c8573 100644 --- a/mail/mail-session.h +++ b/mail/mail-session.h @@ -33,6 +33,7 @@ extern "C" { #endif /* __cplusplus }*/ void mail_session_init (void); +void mail_session_enable_interaction (gboolean enable); char *mail_session_request_dialog (const char *prompt, gboolean secret, const char *key, gboolean async); void mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data, -- cgit v1.2.3