From 8fb12c9538858bbfdaa6e74f8c08c6f86acbe66d Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 24 Feb 2000 08:23:00 +0000 Subject: Made keyboard focus navigation work across groups. 2000-02-24 Christopher James Lahey * e-table-item.c: Made keyboard focus navigation work across groups. * e-table-header.c: Made e_table_header_col_diff not crash if you give it a column less than 0 (it truncates negative column values to 0.) * e-table-group.c, e-table-group.h: Added e_table_group_get_header to get the ETableHeader for this ETableGroup. * e-table-group-container.c: Made shift tab work. svn path=/trunk/; revision=1917 --- widgets/e-table/e-table-group-container.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'widgets/e-table/e-table-group-container.c') diff --git a/widgets/e-table/e-table-group-container.c b/widgets/e-table/e-table-group-container.c index a9f494db04..634d7934ef 100644 --- a/widgets/e-table/e-table-group-container.c +++ b/widgets/e-table/e-table-group-container.c @@ -416,6 +416,10 @@ etgc_event (GnomeCanvasItem *item, GdkEvent *event) ETableGroup *child = child_node->child; if (e_table_group_get_focus(child)) { old_col = e_table_group_get_focus_column(child); + if ( old_col == -1 ) + old_col = 0; + if ( start_col == -1 ) + start_col = e_table_header_count(e_table_group_get_header(child)) - 1; if (direction == E_FOCUS_END) list = list->prev; -- cgit v1.2.3