From d3e8fc316941aba4d04ee1f1eee999ec5781f14b Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 12 Jun 2006 05:05:48 +0000 Subject: Committing a fix for sorting in the vertical view message list. svn path=/trunk/; revision=32105 --- widgets/table/e-table-utils.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'widgets/table/e-table-utils.c') diff --git a/widgets/table/e-table-utils.c b/widgets/table/e-table-utils.c index fb05326573..178842cd84 100644 --- a/widgets/table/e-table-utils.c +++ b/widgets/table/e-table-utils.c @@ -113,7 +113,10 @@ et_col_spec_to_col (ETableColumnSpecification *col_spec, cell, compare, col_spec->resizable, col_spec->disabled, col_spec->priority); } col->search = search; - + if (col_spec->sortable && !strcmp(col_spec->sortable, "false")) + col->sortable = FALSE; + else + col->sortable = TRUE; g_free (title); } if (col && col_spec->compare_col != col_spec->model_col) -- cgit v1.2.3