2005-08-07 [colin] 1.9.13cvs20
authorColin Leroy <colin@colino.net>
Sun, 7 Aug 2005 10:09:17 +0000 (10:09 +0000)
committerColin Leroy <colin@colino.net>
Sun, 7 Aug 2005 10:09:17 +0000 (10:09 +0000)
* src/folderview.c
Add debug
* src/summaryview.c
Faster 'unthread_for_execution'

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/folderview.c
src/summaryview.c

index d5c3b1c998cc46671b2cc38b741df88811d12aba..f82498c724b674964e0e378a62ccf6270cc5b466 100644 (file)
@@ -1,3 +1,10 @@
+2005-08-07 [colin]     1.9.13cvs20
+
+       * src/folderview.c
+               Add debug
+       * src/summaryview.c
+               Faster 'unthread_for_execution'
+
 2005-08-06 [paul]      1.9.13cvs19
 
        * src/mainwindow.c
index 37598c277126a91d7436d05d351a5fc3b091c766..e93c1ef29da03b11b09973a55b7d54e850ae20be 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.204.2.49 -r 1.204.2.50 src/prefs_common.c;  cvs diff -u -r 1.103.2.23 -r 1.103.2.24 src/prefs_common.h;  cvs diff -u -r 1.274.2.49 -r 1.274.2.50 src/mainwindow.c;  cvs diff -u -r 1.382.2.147 -r 1.382.2.148 src/compose.c;  cvs diff -u -r 1.94.2.59 -r 1.94.2.60 src/messageview.c;  ) > 1.9.13cvs17.patchset
 ( cvs diff -u -r 1.274.2.50 -r 1.274.2.51 src/mainwindow.c;  cvs diff -u -r 1.16.2.10 -r 1.16.2.11 src/prefs_display_header.c;  cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/prefs_folder_column.c;  cvs diff -u -r 1.1.2.9 -r 1.1.2.10 src/prefs_summaries.c;  cvs diff -u -r 1.10.2.9 -r 1.10.2.10 src/prefs_summary_column.c;  ) > 1.9.13cvs18.patchset
 ( cvs diff -u -r 1.274.2.51 -r 1.274.2.52 src/mainwindow.c;  ) > 1.9.13cvs19.patchset
+( cvs diff -u -r 1.207.2.52 -r 1.207.2.53 src/folderview.c;  cvs diff -u -r 1.395.2.103 -r 1.395.2.104 src/summaryview.c;  ) > 1.9.13cvs20.patchset
index 1c9b4c4730929869334c1589b8e400404fbec24c..1b235789e42ace9f7fd88e738b505b02bf004348 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=13
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=19
+EXTRA_VERSION=20
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index affb74e535a8197d82cacf5f8ee9e3fc090286d3..fd39fea82830bbd766b25aa276c29afdcab90a06 100644 (file)
@@ -364,6 +364,7 @@ static void folderview_column_set_titles(FolderView *folderview)
        GtkWidget *hbox_total;
        gint *col_pos = folderview->col_pos;
        
+       debug_print("setting titles...\n");
        gtk_widget_realize(folderview->ctree);
        gtk_widget_show_all(folderview->scrolledwin);
        
@@ -411,6 +412,7 @@ GtkWidget *folderview_ctree_create(FolderView *folderview)
        gint i;
        GtkWidget *scrolledwin = folderview->scrolledwin;
 
+       debug_print("creating tree...\n");
        memset(titles, 0, sizeof(titles));
 
        col_state = prefs_folder_column_get_config();
@@ -513,6 +515,7 @@ void folderview_set_column_order(FolderView *folderview)
        FolderItem *item = folderview_get_selected_item(folderview);
        GtkWidget *scrolledwin = folderview->scrolledwin;
 
+       debug_print("recreating tree...\n");
        gtk_widget_destroy(folderview->ctree);
 
        folderview->ctree = ctree = folderview_ctree_create(folderview);
index 13bd4a41fbab5888e9817d2f8adf666a669c57bb..9744bb42662758de152e4030f5ac09450eb5e48d 100644 (file)
@@ -3836,22 +3836,18 @@ static void summary_unthread_for_exec(SummaryView *summaryview)
        GtkCTreeNode *node;
        GtkCTree *ctree = GTK_CTREE(summaryview->ctree);
 
-       summary_lock(summaryview);
-
        debug_print("Unthreading for execution...");
 
-       gtk_clist_freeze(GTK_CLIST(ctree));
+       START_LONG_OPERATION(summaryview);
 
        for (node = GTK_CTREE_NODE(GTK_CLIST(ctree)->row_list);
             node != NULL; node = GTK_CTREE_NODE_NEXT(node)) {
                summary_unthread_for_exec_func(ctree, node, NULL);
        }
 
-       gtk_clist_thaw(GTK_CLIST(ctree));
+       END_LONG_OPERATION(summaryview);
 
        debug_print("done.\n");
-
-       summary_unlock(summaryview);
 }
 
 static void summary_unthread_for_exec_func(GtkCTree *ctree, GtkCTreeNode *node,