diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-02-28 11:36:29 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-02-28 11:36:29 +0800 |
commit | 6a8d4951dc284e0f3d3e1645d258d3a9968025c8 (patch) | |
tree | a557d39353eb8ca54993eea14552a0a18a48bc11 /widgets/table/e-table-specification.c | |
parent | 5a2e01a7af2f63f01ce96c6f82fd66bdbb7f9cea (diff) | |
download | gsoc2013-evolution-6a8d4951dc284e0f3d3e1645d258d3a9968025c8.tar gsoc2013-evolution-6a8d4951dc284e0f3d3e1645d258d3a9968025c8.tar.gz gsoc2013-evolution-6a8d4951dc284e0f3d3e1645d258d3a9968025c8.tar.bz2 gsoc2013-evolution-6a8d4951dc284e0f3d3e1645d258d3a9968025c8.tar.lz gsoc2013-evolution-6a8d4951dc284e0f3d3e1645d258d3a9968025c8.tar.xz gsoc2013-evolution-6a8d4951dc284e0f3d3e1645d258d3a9968025c8.tar.zst gsoc2013-evolution-6a8d4951dc284e0f3d3e1645d258d3a9968025c8.zip |
Changed e_table_selection_model_clear to e_selection_model_clear.
2001-02-27 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-completion-view.c: Changed
e_table_selection_model_clear to e_selection_model_clear.
* tests/test-tree-3.c: Changed E_TABLE_CURSOR_LINE to
E_CURSOR_LINE.
From gal/e-table/ChangeLog:
2001-02-27 Christopher James Lahey <clahey@ximian.com>
* e-table-click-to-add.c, 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,
e-table-specification.c, e-table-specification.h, e-table.c,
e-table.h: Changed a lot of the ETableSelectionModels to
ESelectionModels, a lot of the ETableSorters to ESorters, all the
ETableCursorModes to ECursorModes, and all of the
ETableForeachFuncs into EForeachFuncs.
* e-table-defines.h: Moved ETableForeachFunc and ETableCursorMode
to e-selection-model.h.
* e-table-selection-model.c, e-table-selection-model.h: Made this
a subclass of ESelectionModel which simple connects to an
ETableModel.
* e-table-sorter.c, e-table-sorter.h: Made this a subclass of
ESorter so that implements the same semantics it used to.
svn path=/trunk/; revision=8422
Diffstat (limited to 'widgets/table/e-table-specification.c')
-rw-r--r-- | widgets/table/e-table-specification.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c index 165f17ae04..cfeda97b68 100644 --- a/widgets/table/e-table-specification.c +++ b/widgets/table/e-table-specification.c @@ -65,7 +65,7 @@ etsp_init (ETableSpecification *etsp) etsp->draw_focus = TRUE; etsp->horizontal_scrolling = FALSE; - etsp->cursor_mode = E_TABLE_CURSOR_SIMPLE; + etsp->cursor_mode = E_CURSOR_SIMPLE; etsp->selection_mode = GTK_SELECTION_MULTIPLE; etsp->click_to_add_message = NULL; @@ -175,12 +175,12 @@ e_table_specification_load_from_node (ETableSpecification *specification, } g_free (temp); - specification->cursor_mode = E_TABLE_CURSOR_SIMPLE; + specification->cursor_mode = E_CURSOR_SIMPLE; temp = e_xml_get_string_prop_by_name (node, "cursor-mode"); if (temp && !strcasecmp (temp, "line")) { - specification->cursor_mode = E_TABLE_CURSOR_LINE; + specification->cursor_mode = E_CURSOR_LINE; } else if (temp && !strcasecmp (temp, "spreadsheet")) { - specification->cursor_mode = E_TABLE_CURSOR_SPREADSHEET; + specification->cursor_mode = E_CURSOR_SPREADSHEET; } g_free (temp); g_free (specification->click_to_add_message); @@ -315,7 +315,7 @@ e_table_specification_save_to_node (ETableSpecification *specification, s = "extended"; } xmlSetProp (node, "selection-mode", s); - if (specification->cursor_mode == E_TABLE_CURSOR_LINE) + if (specification->cursor_mode == E_CURSOR_LINE) s = "line"; else s = "cell"; |