aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-state.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-10-19 10:41:55 +0800
committerChris Lahey <clahey@src.gnome.org>2000-10-19 10:41:55 +0800
commit9bf8ac3b79ce99b7f2ae49d3134984164fa728b3 (patch)
treeaf4fd95a3ce84e5090db1c53ae4e2ef8f916cb08 /widgets/table/e-table-state.c
parent948024d1120cb2d008fc71b1e0faf565e021ae6d (diff)
downloadgsoc2013-evolution-9bf8ac3b79ce99b7f2ae49d3134984164fa728b3.tar
gsoc2013-evolution-9bf8ac3b79ce99b7f2ae49d3134984164fa728b3.tar.gz
gsoc2013-evolution-9bf8ac3b79ce99b7f2ae49d3134984164fa728b3.tar.bz2
gsoc2013-evolution-9bf8ac3b79ce99b7f2ae49d3134984164fa728b3.tar.lz
gsoc2013-evolution-9bf8ac3b79ce99b7f2ae49d3134984164fa728b3.tar.xz
gsoc2013-evolution-9bf8ac3b79ce99b7f2ae49d3134984164fa728b3.tar.zst
gsoc2013-evolution-9bf8ac3b79ce99b7f2ae49d3134984164fa728b3.zip
Fixed ETableFieldChooser row heights a bit.
2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-table-field-chooser-item.c, e-table-field-chooser-item.h: Fixed ETableFieldChooser row heights a bit. * e-table-header-item.c: Formatting clean up. * e-table-state.c: Added saving of the version of the ETableState. This way, if we change the format of an ETableState, we can detect old version numbers. svn path=/trunk/; revision=6016
Diffstat (limited to 'widgets/table/e-table-state.c')
-rw-r--r--widgets/table/e-table-state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c
index f051f08672..087fc81258 100644
--- a/widgets/table/e-table-state.c
+++ b/widgets/table/e-table-state.c
@@ -148,6 +148,8 @@ e_table_state_save_to_node (ETableState *state,
else
node = xmlNewNode (NULL, "ETableState");
+ e_xml_set_string_prop_by_name(node, "state-version", "0");
+
for (i = 0; i < state->col_count; i++) {
int column = state->columns[i];
xmlNode *new_node;