From 451c410dec4efdef1562417066fd7b7464b14004 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 20 Mar 2001 16:22:30 +0000 Subject: Bumped the version number to 05.99.9. 2001-03-20 Christopher James Lahey * configure.in: Bumped the version number to 05.99.9. From gal/e-table/ChangeLog: 2001-03-20 Christopher James Lahey * e-table-click-to-add.c: Turn on the vertical grid. * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-item.c, e-table-item.h: Replaced the "drawgrid" argument with "horizontal_draw_grid" and "vertical_draw_grid" arguments. * e-table-specification.c, e-table-specifcation: Replaced the draw_grid setting with the horizontal_draw_grid and vertical_draw_grid settings. If the draw-grid property is set in a ETableSpecification it is still obeyed and overrides the vertical-draw-grid and horizontal-draw-grid properties. * e-table.c, e-table.h, e-tree.c, e-tree.h: Deal with the horizontal_draw_grid and vertical_draw_grid changes. * e-tree-model.h: Added a missing include. svn path=/trunk/; revision=8846 --- widgets/table/e-table.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'widgets/table/e-table.c') diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 8ed176a4da..716b81fd75 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -202,7 +202,8 @@ e_table_init (GtkObject *object) e_table->group_info_change_id = 0; e_table->reflow_idle_id = 0; - e_table->draw_grid = 1; + e_table->horizontal_draw_grid = 1; + e_table->vertical_draw_grid = 1; e_table->draw_focus = 1; e_table->cursor_mode = E_CURSOR_SIMPLE; e_table->length_threshold = 200; @@ -561,7 +562,8 @@ et_build_groups (ETable *et) 0); e_canvas_vbox_add_item(E_CANVAS_VBOX(et->canvas_vbox), GNOME_CANVAS_ITEM(et->group)); gnome_canvas_item_set(GNOME_CANVAS_ITEM(et->group), - "drawgrid", et->draw_grid, + "horiztonal_draw_grid", et->horizontal_draw_grid, + "vertical_draw_grid", et->vertical_draw_grid, "drawfocus", et->draw_focus, "cursor_mode", et->cursor_mode, "length_threshold", et->length_threshold, @@ -938,7 +940,8 @@ et_real_construct (ETable *e_table, ETableModel *etm, ETableExtras *ete, e_table->use_click_to_add = specification->click_to_add; e_table->click_to_add_message = g_strdup (gettext (specification->click_to_add_message)); - e_table->draw_grid = specification->draw_grid; + e_table->horizontal_draw_grid = specification->horizontal_draw_grid; + e_table->vertical_draw_grid = specification->vertical_draw_grid; e_table->draw_focus = specification->draw_focus; e_table->cursor_mode = specification->cursor_mode; e_table->full_header = e_table_spec_to_full_header(specification, ete); -- cgit