diff options
Diffstat (limited to 'widgets/table/e-table-column-specification.c')
-rw-r--r-- | widgets/table/e-table-column-specification.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/table/e-table-column-specification.c b/widgets/table/e-table-column-specification.c index 81f4e45eb2..30bb80c779 100644 --- a/widgets/table/e-table-column-specification.c +++ b/widgets/table/e-table-column-specification.c @@ -41,6 +41,7 @@ free_strings (ETableColumnSpecification *etcs) g_free(etcs->pixbuf); g_free(etcs->cell); g_free(etcs->compare); + g_free(etcs->search); } static void @@ -75,6 +76,7 @@ etcs_init (ETableColumnSpecification *specification) specification->cell = NULL; specification->compare = NULL; + specification->search = NULL; specification->priority = 0; } @@ -105,6 +107,7 @@ e_table_column_specification_load_from_node (ETableColumnSpecification *etcs, etcs->cell = e_xml_get_string_prop_by_name (node, "cell"); etcs->compare = e_xml_get_string_prop_by_name (node, "compare"); + etcs->search = e_xml_get_string_prop_by_name (node, "search"); etcs->priority = e_xml_get_integer_prop_by_name_with_default (node, "priority", 0); if (etcs->title == NULL) @@ -132,6 +135,7 @@ e_table_column_specification_save_to_node (ETableColumnSpecification *specificat e_xml_set_string_prop_by_name(node, "cell", specification->cell); e_xml_set_string_prop_by_name(node, "compare", specification->compare); + e_xml_set_string_prop_by_name(node, "search", specification->search); if (specification->priority != 0) e_xml_set_integer_prop_by_name (node, "priority", specification->priority); |