aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-specification.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-03-12 06:51:50 +0800
committerChris Lahey <clahey@src.gnome.org>2002-03-12 06:51:50 +0800
commite94b86c4b5d7fa2d431d2dbbca0c29ef5e48a7e6 (patch)
tree0243389d5889b83af49e14b354cbb3c43d1bf2bd /widgets/table/e-table-specification.c
parentb24b3e4ecdf17d041662d2dd71d084c63e8ab58d (diff)
downloadgsoc2013-evolution-e94b86c4b5d7fa2d431d2dbbca0c29ef5e48a7e6.tar
gsoc2013-evolution-e94b86c4b5d7fa2d431d2dbbca0c29ef5e48a7e6.tar.gz
gsoc2013-evolution-e94b86c4b5d7fa2d431d2dbbca0c29ef5e48a7e6.tar.bz2
gsoc2013-evolution-e94b86c4b5d7fa2d431d2dbbca0c29ef5e48a7e6.tar.lz
gsoc2013-evolution-e94b86c4b5d7fa2d431d2dbbca0c29ef5e48a7e6.tar.xz
gsoc2013-evolution-e94b86c4b5d7fa2d431d2dbbca0c29ef5e48a7e6.tar.zst
gsoc2013-evolution-e94b86c4b5d7fa2d431d2dbbca0c29ef5e48a7e6.zip
Added a pixbuf column type.
2002-03-11 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h (E_TABLE_MEMORY_STORE_PIXBUF): Added a pixbuf column type. * e-table-specification.c, e-table-specification.h: Added horizontal-resize attribute. * e-table.c, e-table.h: Handle horizontal_resize. svn path=/trunk/; revision=16108
Diffstat (limited to 'widgets/table/e-table-specification.c')
-rw-r--r--widgets/table/e-table-specification.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c
index 81456dbac4..cabd5b9084 100644
--- a/widgets/table/e-table-specification.c
+++ b/widgets/table/e-table-specification.c
@@ -83,6 +83,7 @@ etsp_init (ETableSpecification *etsp)
etsp->vertical_draw_grid = FALSE;
etsp->draw_focus = TRUE;
etsp->horizontal_scrolling = FALSE;
+ etsp->horizontal_resize = FALSE;
etsp->allow_grouping = TRUE;
etsp->cursor_mode = E_CURSOR_SIMPLE;
@@ -191,6 +192,7 @@ e_table_specification_load_from_node (ETableSpecification *specification,
}
specification->draw_focus = e_xml_get_bool_prop_by_name_with_default (node, "draw-focus", TRUE);
specification->horizontal_scrolling = e_xml_get_bool_prop_by_name_with_default (node, "horizontal-scrolling", FALSE);
+ specification->horizontal_resize = e_xml_get_bool_prop_by_name_with_default (node, "horizontal-resize", FALSE);
specification->allow_grouping = e_xml_get_bool_prop_by_name_with_default (node, "allow-grouping", TRUE);
specification->selection_mode = GTK_SELECTION_MULTIPLE;
@@ -335,6 +337,7 @@ e_table_specification_save_to_node (ETableSpecification *specification,
e_xml_set_bool_prop_by_name (node, "vertical-draw-grid", specification->vertical_draw_grid);
e_xml_set_bool_prop_by_name (node, "draw-focus", specification->draw_focus);
e_xml_set_bool_prop_by_name (node, "horizontal-scrolling", specification->horizontal_scrolling);
+ e_xml_set_bool_prop_by_name (node, "horizontal-resize", specification->horizontal_resize);
e_xml_set_bool_prop_by_name (node, "allow-grouping", specification->allow_grouping);
switch (specification->selection_mode){