diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-03-21 00:22:30 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-03-21 00:22:30 +0800 |
commit | 451c410dec4efdef1562417066fd7b7464b14004 (patch) | |
tree | 8cc5fb50f634a2b806cc8c39c5104237af023283 /widgets/table/e-tree.c | |
parent | 726712806ea9f61f69d8c4e42ac2dedf1d7afdf2 (diff) | |
download | gsoc2013-evolution-451c410dec4efdef1562417066fd7b7464b14004.tar gsoc2013-evolution-451c410dec4efdef1562417066fd7b7464b14004.tar.gz gsoc2013-evolution-451c410dec4efdef1562417066fd7b7464b14004.tar.bz2 gsoc2013-evolution-451c410dec4efdef1562417066fd7b7464b14004.tar.lz gsoc2013-evolution-451c410dec4efdef1562417066fd7b7464b14004.tar.xz gsoc2013-evolution-451c410dec4efdef1562417066fd7b7464b14004.tar.zst gsoc2013-evolution-451c410dec4efdef1562417066fd7b7464b14004.zip |
Bumped the version number to 05.99.9.
2001-03-20 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 05.99.9.
From gal/e-table/ChangeLog:
2001-03-20 Christopher James Lahey <clahey@ximian.com>
* 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
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r-- | widgets/table/e-tree.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index a434d54ea8..5f34e89fee 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -154,7 +154,8 @@ e_tree_init (GtkObject *object) e_tree->sort_info = NULL; e_tree->reflow_idle_id = 0; - e_tree->draw_grid = 1; + e_tree->horizontal_draw_grid = 1; + e_tree->vertical_draw_grid = 1; e_tree->draw_focus = 1; e_tree->cursor_mode = E_CURSOR_SIMPLE; e_tree->length_threshold = 200; @@ -439,7 +440,8 @@ et_build_item (ETree *et) "ETableHeader", et->header, "ETableModel", et->etta, "table_selection_model", et->selection, - "drawgrid", et->draw_grid, + "horizontal_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, @@ -714,7 +716,8 @@ et_real_construct (ETree *e_tree, ETreeModel *etm, ETableExtras *ete, else ete = e_table_extras_new(); - e_tree->draw_grid = specification->draw_grid; + e_tree->horizontal_draw_grid = specification->horizontal_draw_grid; + e_tree->vertical_draw_grid = specification->vertical_draw_grid; e_tree->draw_focus = specification->draw_focus; e_tree->cursor_mode = specification->cursor_mode; e_tree->full_header = e_table_spec_to_full_header(specification, ete); @@ -1113,6 +1116,8 @@ e_tree_node_is_expanded (ETree *et, ETreePath path) { path = e_tree_sorted_model_to_view_path(et->sorted, path); + g_return_val_if_fail(path, FALSE); + return e_tree_table_adapter_node_is_expanded (et->etta, path); } |