* 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 06944e474b338a74fac41167cb5e424977f22f70..0150bc4b1bd3daf54015850ba63c54ff6428ca9c 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 d2d44c6083af5569db667b6ead4e626f891bfeae..1cf4494e7c5bcd92da788ae500dc9de59978b860 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 20657ba1fcdc0dd322a64b0432a6dc27907e2f2c..6537ee261f90698f52a27fe713a6b6d582041584 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) {