fix bug 3407, 'Pressing the "Date" column header to "sort by date" causes all columns...
authorPaul <paul@claws-mail.org>
Sat, 21 Mar 2015 11:19:40 +0000 (11:19 +0000)
committerPaul <paul@claws-mail.org>
Sat, 21 Mar 2015 11:19:40 +0000 (11:19 +0000)
It was only apparent when sorting by thread date, not sorting by date.

src/summaryview.c

index dacbc66..b3b1447 100644 (file)
@@ -2809,7 +2809,7 @@ static void summary_set_column_titles(SummaryView *summaryview)
 
                if (summaryview->sort_key == sort_by[type] ||
                    (summaryview->sort_key == SORT_BY_THREAD_DATE &&
-                    sort_by[SORT_BY_DATE])) {
+                    sort_by[SORT_BY_DATE] && type == S_COL_DATE)) {
                        arrow = gtk_arrow_new
                                (summaryview->sort_type == SORT_ASCENDING
                                 ? GTK_ARROW_DOWN : GTK_ARROW_UP,