* src/summaryview.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 12 Jan 2003 19:58:45 +0000 (19:58 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 12 Jan 2003 19:58:45 +0000 (19:58 +0000)
delete / execute performance: use new style folder update

ChangeLog.claws
configure.in
src/summaryview.c

index 06944e4..0150bc4 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-12 [alfons]    0.8.8claws87
+
+       * src/summaryview.c
+               delete / execute performance: use new style folder update
+
 2002-01-12 [paul]      0.8.8claws86
 
        * sync with 0.8.8cvs5
index d2d44c6..1cf4494 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws86
+EXTRA_VERSION=claws87
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 20657ba..6537ee2 100644 (file)
@@ -3074,10 +3074,12 @@ void summary_delete(SummaryView *summaryview)
 
        /* next code sets current row focus right. We need to find a row
         * that is not deleted. */
+       folder_item_update_freeze();     
        for (cur = GTK_CLIST(ctree)->selection; cur != NULL; cur = cur->next) {
                sel_last = GTK_CTREE_NODE(cur->data);
                summary_delete_row(summaryview, sel_last);
        }
+       folder_item_update_thaw();
 
        node = summary_find_next_msg(summaryview, sel_last);
        if (!node)
@@ -3496,9 +3498,11 @@ gboolean summary_execute(SummaryView *summaryview)
        if (summaryview->threaded)
                summary_unthread_for_exec(summaryview);
 
+       folder_item_update_freeze();
        summary_execute_move(summaryview);
        summary_execute_copy(summaryview);
        summary_execute_delete(summaryview);
+       folder_item_update_thaw();
 
        node = GTK_CTREE_NODE(clist->row_list);
        while (node != NULL) {