From 712b10f964c8f590c36e76b41d030da8c892cde4 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 2 Aug 2000 17:21:30 +0000 Subject: Emit "model_pre_change" where appropriate. 2000-08-02 Christopher James Lahey * mail-ops.c, message-list.c: Emit "model_pre_change" where appropriate. svn path=/trunk/; revision=4475 --- mail/ChangeLog | 5 +++++ mail/mail-ops.c | 2 ++ mail/message-list.c | 2 ++ 3 files changed, 9 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index a9daedf64d..d28861ab89 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-08-02 Christopher James Lahey + + * mail-ops.c, message-list.c: Emit "model_pre_change" where + appropriate. + 2000-08-02 Peter Williams * mail-config.h: #ifdef _MAIL_CONFIG_H protect the header. diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 682753df9d..76030e996a 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -869,6 +869,8 @@ static void real_expunge_folder (gpointer user_data) FolderBrowser *fb = FOLDER_BROWSER (user_data); CamelException ex; + e_table_model_pre_change(fb->message_list->table_model); + #ifdef USE_BROKEN_THREADS mail_op_hide_progressbar (); mail_op_set_message ("Expunging %s...", fb->message_list->folder->full_name); diff --git a/mail/message-list.c b/mail/message-list.c index 1a2c8fb3fd..f2565866d4 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -801,6 +801,8 @@ message_list_regenerate (MessageList *message_list, const char *search) GPtrArray *uids; int row = 0; + e_table_model_pre_change(message_list->table_model); + if (message_list->search) { g_free (message_list->search); message_list->search = NULL; -- cgit