2005-06-23 [colin] 1.9.11cvs94
authorColin Leroy <colin@colino.net>
Thu, 23 Jun 2005 21:55:04 +0000 (21:55 +0000)
committerColin Leroy <colin@colino.net>
Thu, 23 Jun 2005 21:55:04 +0000 (21:55 +0000)
* src/summaryview.c
Fix rough edges (be sure to call status_show whenever
necessary).

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

index 72092a85e30e3833bcd6350fda1d548732db7bf8..4da5d26c86e2050bc13a9f26bc66bf6765c222e1 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-23 [colin]     1.9.11cvs94
+
+       * src/summaryview.c
+               Fix rough edges (be sure to call status_show whenever
+               necessary).
+
 2005-06-23 [colin]     1.9.11cvs93
 
        * src/summaryview.c
index c9ddc8f585341d62f3710d2daa403ae081f97a8f..a531f79e3c259e6140514c9c855e00a3019d79cf 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.4.2.4 -r 1.4.2.5 src/plugins/spamassassin/libspamc.c;  ) > 1.9.11cvs91.patchset
 ( cvs diff -u -r 1.179.2.38 -r 1.179.2.39 src/imap.c;  cvs diff -u -r 1.395.2.84 -r 1.395.2.85 src/summaryview.c;  ) > 1.9.11cvs92.patchset
 ( cvs diff -u -r 1.395.2.85 -r 1.395.2.86 src/summaryview.c;  ) > 1.9.11cvs93.patchset
+( cvs diff -u -r 1.395.2.86 -r 1.395.2.87 src/summaryview.c;  ) > 1.9.11cvs94.patchset
index 3fcd070c893faeba6fe50b9608cd258054e14c2b..915cb3e9209e597d49f892b1c49d9e8ae0d1035f 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=93
+EXTRA_VERSION=94
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index dfa81ea3c6121ee54385257c0f20b33d2153123f..a78d04b5e9abde3565911e9595558edf4f28962a 100644 (file)
@@ -1553,7 +1553,7 @@ void summary_select_node(SummaryView *summaryview, GtkCTreeNode *node,
                        gtk_widget_grab_focus(GTK_WIDGET(ctree));
                        gtk_ctree_node_moveto(ctree, node, -1, 0.5, 0);
                }
-               gtk_sctree_unselect_all(GTK_SCTREE(ctree));
+               summary_unselect_all(summaryview);
                if (display_msg && summaryview->displayed == node)
                        summaryview->displayed = NULL;
                summaryview->display_msg = display_msg;
@@ -3353,11 +3353,15 @@ void summary_select_all(SummaryView *summaryview)
        summary_lock(summaryview);
        gtk_clist_select_all(GTK_CLIST(summaryview->ctree));
        summary_unlock(summaryview);
+       summary_status_show(summaryview);
 }
 
 void summary_unselect_all(SummaryView *summaryview)
 {
+       summary_lock(summaryview);
        gtk_sctree_unselect_all(GTK_SCTREE(summaryview->ctree));
+       summary_unlock(summaryview);
+       summary_status_show(summaryview);
 }
 
 void summary_select_thread(SummaryView *summaryview)
@@ -3529,7 +3533,7 @@ gboolean summary_execute(SummaryView *summaryview)
 
                if (!new_selected &&
                    gtkut_ctree_node_is_selected(ctree, node)) {
-                       gtk_sctree_unselect_all(GTK_SCTREE(ctree));
+                       summary_unselect_all(summaryview);
                        new_selected = summary_find_next_msg(summaryview, node);
                        if (!new_selected)
                                new_selected = summary_find_prev_msg
@@ -4599,11 +4603,7 @@ static void summary_selected(GtkCTree *ctree, GtkCTreeNode *row,
        if (summary_is_locked(summaryview))
                return;
 
-       if (column == -1 && GTK_CLIST(ctree)->selection
-        && GTK_CLIST(ctree)->selection->next) {
-               /* multiple selection */
-               summary_status_show(summaryview);
-       }
+       summary_status_show(summaryview);
 
        if (GTK_CLIST(ctree)->selection &&
            GTK_CLIST(ctree)->selection->next) {