diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-06 05:20:59 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-06 05:20:59 +0800 |
commit | ce3ae8856492d9654f08a0db8b949e2e9a9e1a6f (patch) | |
tree | f6982ed4be0258d3fb0a06b37f4c34223a29204f /mail/mail-session.h | |
parent | 01fb066a57ffdddeeae9b333f5bcbdcd169f5c75 (diff) | |
download | gsoc2013-evolution-ce3ae8856492d9654f08a0db8b949e2e9a9e1a6f.tar gsoc2013-evolution-ce3ae8856492d9654f08a0db8b949e2e9a9e1a6f.tar.gz gsoc2013-evolution-ce3ae8856492d9654f08a0db8b949e2e9a9e1a6f.tar.bz2 gsoc2013-evolution-ce3ae8856492d9654f08a0db8b949e2e9a9e1a6f.tar.lz gsoc2013-evolution-ce3ae8856492d9654f08a0db8b949e2e9a9e1a6f.tar.xz gsoc2013-evolution-ce3ae8856492d9654f08a0db8b949e2e9a9e1a6f.tar.zst gsoc2013-evolution-ce3ae8856492d9654f08a0db8b949e2e9a9e1a6f.zip |
If we are not in interactive mode, don't display error dialogs.
2002-08-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.c (mail_msg_check_error): If we are not in interactive
mode, don't display error dialogs.
* component-factory.c (interactive_cb): Updated to use the new
function mail_session_set_interactive().
(owner_unset_cb): Same here.
* mail-session.c (mail_session_set_interactive): Renamed from
mail_session_enable_interaction().
(mail_session_get_interactive): New function to get the
interactive state.
svn path=/trunk/; revision=17702
Diffstat (limited to 'mail/mail-session.h')
-rw-r--r-- | mail/mail-session.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-session.h b/mail/mail-session.h index 60779156a7..72a2757fc4 100644 --- a/mail/mail-session.h +++ b/mail/mail-session.h @@ -33,7 +33,8 @@ extern "C" { #endif /* __cplusplus */ void mail_session_init (void); -void mail_session_enable_interaction (gboolean enable); +gboolean mail_session_get_interactive (void); +void mail_session_set_interactive (gboolean interactive); char *mail_session_request_dialog (const char *prompt, gboolean secret, const char *key, gboolean async); gboolean mail_session_accept_dialog (const char *prompt, const char *key, |