From ce3ae8856492d9654f08a0db8b949e2e9a9e1a6f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 5 Aug 2002 21:20:59 +0000 Subject: If we are not in interactive mode, don't display error dialogs. 2002-08-05 Jeffrey Stedfast * 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 --- mail/message-list.c | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) (limited to 'mail/message-list.c') 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 #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); -- cgit v1.2.3