From 6a8d4951dc284e0f3d3e1645d258d3a9968025c8 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 28 Feb 2001 03:36:29 +0000 Subject: Changed e_table_selection_model_clear to e_selection_model_clear. 2001-02-27 Christopher James Lahey * 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 * 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 --- widgets/table/e-table-specification.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'widgets/table/e-table-specification.c') 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"; -- cgit v1.2.3