aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-08-06 05:20:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-06 05:20:59 +0800
commitce3ae8856492d9654f08a0db8b949e2e9a9e1a6f (patch)
treef6982ed4be0258d3fb0a06b37f4c34223a29204f /mail/component-factory.c
parent01fb066a57ffdddeeae9b333f5bcbdcd169f5c75 (diff)
downloadgsoc2013-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/component-factory.c')
-rw-r--r--mail/component-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 5a2651b789..e9b3c8482b 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -795,7 +795,7 @@ debug_cb (EvolutionShellComponent *shell_component, gpointer user_data)
static void
interactive_cb (EvolutionShellComponent *shell_component, gboolean on, gpointer user_data)
{
- mail_session_enable_interaction(on);
+ mail_session_set_interactive (on);
}
static void
@@ -900,7 +900,7 @@ owner_unset_cb (EvolutionShellComponent *shell_component, gpointer user_data)
mail_importer_uninit ();
global_shell_client = NULL;
- mail_session_enable_interaction (FALSE);
+ mail_session_set_interactive (FALSE);
gtk_object_unref (GTK_OBJECT (search_context));
search_context = NULL;