aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-ops.c2
-rw-r--r--mail/message-list.c2
3 files changed, 9 insertions, 0 deletions
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 <clahey@helixcode.com>
+
+ * mail-ops.c, message-list.c: Emit "model_pre_change" where
+ appropriate.
+
2000-08-02 Peter Williams <peterw@helixcode.com>
* 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;