* src/inc.c
[claws.git] / src / inc.c
index fc239f1bd4229e121c708ef6581930c3c13f1c13..fbfb936c2b3f4c49fb68bf5e0c2394e9ac042caa 100644 (file)
--- a/src/inc.c
+++ b/src/inc.c
@@ -585,6 +585,8 @@ static gint inc_start(IncProgressDialog *inc_dialog)
                folder_item_scan(processing);
                msglist = folder_item_get_msg_list(processing);
 
+               folder_item_update_freeze();
+
                /* process messages */
                for(msglist_element = msglist; msglist_element != NULL; msglist_element = msglist_element->next) {
                        MailFilteringData mail_filtering_data;
@@ -605,6 +607,8 @@ static gint inc_start(IncProgressDialog *inc_dialog)
                }
                g_slist_free(msglist);
 
+               folder_item_update_thaw();
+
 
                new_msgs += pop3_state->cur_total_num;