2005-10-27 [paul] 1.9.15cvs120
authorPaul Mangan <paul@claws-mail.org>
Thu, 27 Oct 2005 11:29:46 +0000 (11:29 +0000)
committerPaul Mangan <paul@claws-mail.org>
Thu, 27 Oct 2005 11:29:46 +0000 (11:29 +0000)
* src/mainwindow.c
fix a compilation warning
* src/summaryview.c
fix updating of 'n items selected' count
when deselecting

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

index b125e69..647f5bb 100644 (file)
@@ -1,3 +1,11 @@
+2005-10-27 [paul]      1.9.15cvs120
+
+       * src/mainwindow.c
+               fix a compilation warning
+       * src/summaryview.c
+               fix updating of 'n items selected' count
+               when deselecting
+
 2005-10-27 [martin]    1.9.15cvs119
 
        * src/action.c
index c3ab575..48ded62 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.49.2.66 -r 1.49.2.67 src/procmime.c;  ) > 1.9.15cvs117.patchset
 ( cvs diff -u -r 1.115.2.63 -r 1.115.2.64 src/main.c;  ) > 1.9.15cvs118.patchset
 ( cvs diff -u -r 1.12.2.26 -r 1.12.2.27 src/action.c;  cvs diff -u -r 1.60.2.25 -r 1.60.2.26 src/prefs_actions.c;  ) > 1.9.15cvs119.patchset
+( cvs diff -u -r 1.274.2.77 -r 1.274.2.78 src/mainwindow.c;  cvs diff -u -r 1.395.2.142 -r 1.395.2.143 src/summaryview.c;  ) > 1.9.15cvs120.patchset
index d70dd36..e61426f 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=15
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=119
+EXTRA_VERSION=120
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 2901cf1..adc4375 100644 (file)
@@ -1114,7 +1114,7 @@ MainWindow *main_window_create(SeparateType type)
        menu_connect_identical_items();
 
 
-       gtk_window_iconify(mainwin->window);
+       gtk_window_iconify(GTK_WINDOW(mainwin->window));
 
        gtk_widget_show(mainwin->window);
 
index 638af94..e9c57fc 100644 (file)
@@ -275,6 +275,10 @@ static void summary_selected               (GtkCTree               *ctree,
                                         GtkCTreeNode           *row,
                                         gint                    column,
                                         SummaryView            *summaryview);
+static void summary_unselected         (GtkCTree               *ctree,
+                                        GtkCTreeNode           *row,
+                                        gint                    column,
+                                        SummaryView            *summaryview);
 static void summary_col_resized                (GtkCList               *clist,
                                         gint                    column,
                                         gint                    width,
@@ -4517,6 +4521,8 @@ static GtkWidget *summary_ctree_create(SummaryView *summaryview)
 
        g_signal_connect(G_OBJECT(ctree), "tree_select_row",
                         G_CALLBACK(summary_selected), summaryview);
+       g_signal_connect(G_OBJECT(ctree), "tree_unselect_row",
+                        G_CALLBACK(summary_unselected), summaryview);
        g_signal_connect(G_OBJECT(ctree), "button_press_event",
                         G_CALLBACK(summary_button_pressed),
                         summaryview);
@@ -4799,6 +4805,12 @@ static void summary_tree_collapsed(GtkCTree *ctree, GtkCTreeNode *node,
        summary_set_row_marks(summaryview, node);
 }
 
+static void summary_unselected(GtkCTree *ctree, GtkCTreeNode *row,
+                              gint column, SummaryView *summaryview)
+{
+       summary_status_show(summaryview);
+}
+
 static void summary_selected(GtkCTree *ctree, GtkCTreeNode *row,
                             gint column, SummaryView *summaryview)
 {