aboutsummaryrefslogtreecommitdiffstats
path: root/a11y
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2005-02-24 13:36:39 +0800
committerHarry Lu <haip@src.gnome.org>2005-02-24 13:36:39 +0800
commitb1479dcb39ed417dc64936d0dd23cfa6777ff88b (patch)
treefc181a74449a6541633373c2d78ab166245afef5 /a11y
parent19f878a31095e6c56c0dcac030ddbb8381f6f593 (diff)
downloadgsoc2013-evolution-b1479dcb39ed417dc64936d0dd23cfa6777ff88b.tar.gz
gsoc2013-evolution-b1479dcb39ed417dc64936d0dd23cfa6777ff88b.tar.zst
gsoc2013-evolution-b1479dcb39ed417dc64936d0dd23cfa6777ff88b.zip
Fix for 72793.
2005-02-23 Harry Lu <harry.lu@sun.com> 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
Diffstat (limited to 'a11y')
-rw-r--r--a11y/e-table/gal-a11y-e-cell.c7
1 files changed, 7 insertions, 0 deletions
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 <atk/atkobject.h>
#include <atk/atkcomponent.h>
@@ -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));