From b1479dcb39ed417dc64936d0dd23cfa6777ff88b Mon Sep 17 00:00:00 2001 From: Harry Lu Date: Thu, 24 Feb 2005 05:36:39 +0000 Subject: Fix for 72793. 2005-02-23 Harry Lu Fix for 72793. * gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_grab_focus): for e-cell-vbox's children cell, we grab the e-cell-vbox. svn path=/trunk/; revision=28878 --- a11y/e-table/gal-a11y-e-cell.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'a11y/e-table') diff --git a/a11y/e-table/gal-a11y-e-cell.c b/a11y/e-table/gal-a11y-e-cell.c index f22b8f6b44..8718713a44 100644 --- a/a11y/e-table/gal-a11y-e-cell.c +++ b/a11y/e-table/gal-a11y-e-cell.c @@ -12,6 +12,7 @@ #include "gal/e-table/e-tree.h" #include "gal-a11y-e-table-item.h" #include "gal-a11y-e-cell.h" +#include "gal-a11y-e-cell-vbox.h" #include "gal-a11y-util.h" #include #include @@ -184,6 +185,12 @@ gal_a11y_e_cell_grab_focus (AtkComponent *component) GalA11yETableItem *a11yTableItem; a11y = GAL_A11Y_E_CELL (component); + + /* for e_cell_vbox's children, we just grab the e_cell_vbox */ + if (GAL_A11Y_IS_E_CELL_VBOX (a11y->parent)) { + return atk_component_grab_focus (ATK_COMPONENT (a11y->parent)); + } + a11yTableItem = GAL_A11Y_E_TABLE_ITEM (a11y->parent); index = atk_object_get_index_in_parent (ATK_OBJECT (a11y)); -- cgit v1.2.3