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/e-table/e-table-item.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/e-table/e-table-item.h') diff --git a/widgets/e-table/e-table-item.h b/widgets/e-table/e-table-item.h index 1d522413cd..235ab6d764 100644 --- a/widgets/e-table/e-table-item.h +++ b/widgets/e-table/e-table-item.h @@ -75,6 +75,7 @@ typedef struct { */ int length_threshold; + gint row_guess; gint cursor_row; gint cursor_col; ETableCursorMode cursor_mode; @@ -105,8 +106,7 @@ GtkType e_table_item_get_type (void); /* * Focus */ -void e_table_item_focus (ETableItem *eti, int col, int row); -void e_table_item_unfocus (ETableItem *eti); +void e_table_item_set_cursor (ETableItem *eti, int col, int row); gint e_table_item_get_focused_column (ETableItem *eti); -- cgit v1.2.3