From 227f47b1aa41571ab11a0ae951c9cb81c6d2e88f Mon Sep 17 00:00:00 2001 From: Gilbert Fang Date: Fri, 5 Sep 2003 04:41:40 +0000 Subject: add e-table atk support to libgal a11y add atk registration for 2003-09-05 Gilbert Fang * gal/a11y/Makefile.am: add e-table atk support to libgal a11y * gal/e-table/e-table.c: (e_table_class_init): add atk registration for GalA11yETable (#47780) svn path=/trunk/; revision=22466 --- widgets/table/e-table.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'widgets/table') diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 2af54c591b..6d0c4ee112 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -55,6 +55,9 @@ #include "e-table-utils.h" +#include +#include "gal/a11y/e-table/gal-a11y-e-table-factory.h" + #define COLUMN_HEADER_HEIGHT 16 #define PARENT_TYPE gtk_table_get_type () @@ -3259,6 +3262,11 @@ e_table_class_init (ETableClass *class) /*_( */"XXX blurb" /*)*/, E_TABLE_MODEL_TYPE, G_PARAM_READABLE)); + + atk_registry_set_factory_type (atk_get_default_registry (), + E_TABLE_TYPE, + gal_a11y_e_table_factory_get_type ()); + } E_MAKE_TYPE(e_table, "ETable", ETable, e_table_class_init, e_table_init, PARENT_TYPE) -- cgit v1.2.3