[evolution-patches] Patch for 72793 (Grab Focus of table cells in 'Evolution Settings' grabs the wrong focus or does not grab focus at all)
- From: Harry Lu <Harry Lu Sun COM>
- To: evolution-patches <evolution-patches ximian com>
- Subject: [evolution-patches] Patch for 72793 (Grab Focus of table cells in 'Evolution Settings' grabs the wrong focus or does not grab focus at all)
- Date: Wed, 23 Feb 2005 11:20:05 +0800
Hi, JP,
Attached is the patch for 72793. Please review it.
Thanks!
Harry
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/ChangeLog,v
retrieving revision 1.909
diff -u -r1.909 ChangeLog
--- ChangeLog 20 Feb 2005 08:59:24 -0000 1.909
+++ ChangeLog 23 Feb 2005 03:16:50 -0000
@@ -1,3 +1,10 @@
+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.
+
2005-02-20 Rhys Jones <rhys sucs org>
* configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
Index: gal/a11y/e-table/gal-a11y-e-cell.c
===================================================================
RCS file: /cvs/gnome/gal/gal/a11y/e-table/gal-a11y-e-cell.c,v
retrieving revision 1.9
diff -u -r1.9 gal-a11y-e-cell.c
--- gal/a11y/e-table/gal-a11y-e-cell.c 27 Jan 2005 05:24:18 -0000 1.9
+++ gal/a11y/e-table/gal-a11y-e-cell.c 23 Feb 2005 03:16:57 -0000
@@ -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 @@
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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]