diff options
Diffstat (limited to 'widgets/table/e-table-utils.c')
-rw-r--r-- | widgets/table/e-table-utils.c | 5 |
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) |