aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-utils.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-06-12 13:05:48 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-06-12 13:05:48 +0800
commitd3e8fc316941aba4d04ee1f1eee999ec5781f14b (patch)
treece2c337562fed2a0ed85f2ad01e1ed088d3183d8 /widgets/table/e-table-utils.c
parent4dbdaf99b9eaf4b2672e4ae66c8f4d05bc5e6aa3 (diff)
downloadgsoc2013-evolution-d3e8fc316941aba4d04ee1f1eee999ec5781f14b.tar.gz
gsoc2013-evolution-d3e8fc316941aba4d04ee1f1eee999ec5781f14b.tar.zst
gsoc2013-evolution-d3e8fc316941aba4d04ee1f1eee999ec5781f14b.zip
Committing a fix for sorting in the vertical view message list.
svn path=/trunk/; revision=32105
Diffstat (limited to 'widgets/table/e-table-utils.c')
-rw-r--r--widgets/table/e-table-utils.c5
1 files changed, 4 insertions, 1 deletions
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)