aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.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/message-list.c
parent01fb066a57ffdddeeae9b333f5bcbdcd169f5c75 (diff)
downloadgsoc2013-evolution-ce3ae8856492d9654f08a0db8b949e2e9a9e1a6f.tar.gz
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/message-list.c')
-rw-r--r--mail/message-list.c31
1 files changed, 22 insertions, 9 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index ab2e95a0b0..0899c0071c 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1,16 +1,28 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
- * message-list.c: Displays the messages.
- * Implements CORBA's Evolution::MessageList
+ * Authors: Miguel de Icaza (miguel@ximian.com)
+ * Bertrand Guiheneuf (bg@aful.org)
+ * And just about everyone else in evolution ...
*
- * Author:
- * Miguel de Icaza (miguel@ximian.com)
- * Bertrand Guiheneuf (bg@aful.org)
- * And just about everyone else in evolution ...
+ * Copyright 2000-2002 Ximian, Inc. (www.ximian.com)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
*
- * (C) 2000 Ximian, Inc.
*/
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
@@ -429,6 +441,7 @@ search_func (ETreeModel *model, ETreePath path, struct search_func_data *data)
return FALSE;
}
+
/**
* message_list_select:
* @message_list: a MessageList
@@ -1268,13 +1281,13 @@ message_list_destroy (GtkObject *object)
gtk_object_unref (GTK_OBJECT (message_list->extras));
gtk_object_unref (GTK_OBJECT (message_list->model));
-
+
if (message_list->idle_id != 0)
g_source_remove (message_list->idle_id);
if (message_list->seen_id)
gtk_timeout_remove (message_list->seen_id);
-
+
if (message_list->hidden) {
g_hash_table_destroy(message_list->hidden);
e_mempool_destroy(message_list->hidden_pool);