From c62863d0877fd19c90ba8a15d4438611599b0979 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 21 Jun 2000 03:07:30 +0000 Subject: Removed the unfocus method since that's handled by the canvas itself now. 2000-06-20 Christopher James Lahey * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h: Removed the unfocus method since that's handled by the canvas itself now. * e-table-item.c, e-table-item.h: Finished adapting ETableItem to use the canvas selection/cursor system. Selection and cursor now use row numbers associated with the source model instead of the sorted model (if the model they are given is an ETableSubset.) This has no effect on the interface, except that unfocus was removed and e_table_item_focus was renamed to e_table_item_set_cursor. svn path=/trunk/; revision=3660 --- widgets/table/e-table-group-container.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'widgets/table/e-table-group-container.c') diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index 8e48f447a8..6e950f08ed 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -216,7 +216,6 @@ etgc_event (GnomeCanvasItem *item, GdkEvent *event) if (start_col == -1) start_col = e_table_header_count (e_table_group_get_header (child)) - 1; - e_table_group_unfocus(child); if (direction == E_FOCUS_END) list = list->prev; else @@ -521,16 +520,6 @@ etgc_set_focus (ETableGroup *etg, EFocus direction, gint view_col) } } -static void -etgc_unfocus (ETableGroup *etg) -{ - ETableGroupContainer *etgc = E_TABLE_GROUP_CONTAINER(etg); - GList *list; - for (list = etgc->children; list; list = g_list_next(list)) { - e_table_group_unfocus (((ETableGroupContainerChildNode *)list->data)->child); - } -} - static gint etgc_get_focus_column (ETableGroup *etg) { @@ -672,7 +661,6 @@ etgc_class_init (GtkObjectClass *object_class) e_group_class->set_focus = etgc_set_focus; e_group_class->select_row = etgc_select_row; e_group_class->get_selected_view_row = etgc_get_selected_view_row; - e_group_class->unfocus = etgc_unfocus; e_group_class->get_focus_column = etgc_get_focus_column; e_group_class->get_printable = etgc_get_printable; -- cgit v1.2.3