aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilbert Fang <gilbert.fang@sun.com>2003-09-05 12:41:40 +0800
committerGilbert Fang <gilbertfang@src.gnome.org>2003-09-05 12:41:40 +0800
commit227f47b1aa41571ab11a0ae951c9cb81c6d2e88f (patch)
tree6fb6e1bf44e4c0f8a6dc18b70d628a08016e0b3b
parent3cc69a3c195bc61b13cecef27008681fde464f72 (diff)
downloadgsoc2013-evolution-227f47b1aa41571ab11a0ae951c9cb81c6d2e88f.tar
gsoc2013-evolution-227f47b1aa41571ab11a0ae951c9cb81c6d2e88f.tar.gz
gsoc2013-evolution-227f47b1aa41571ab11a0ae951c9cb81c6d2e88f.tar.bz2
gsoc2013-evolution-227f47b1aa41571ab11a0ae951c9cb81c6d2e88f.tar.lz
gsoc2013-evolution-227f47b1aa41571ab11a0ae951c9cb81c6d2e88f.tar.xz
gsoc2013-evolution-227f47b1aa41571ab11a0ae951c9cb81c6d2e88f.tar.zst
gsoc2013-evolution-227f47b1aa41571ab11a0ae951c9cb81c6d2e88f.zip
add e-table atk support to libgal a11y add atk registration for
2003-09-05 Gilbert Fang <gilbert.fang@sun.com> * 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
-rw-r--r--widgets/table/e-table.c8
1 files changed, 8 insertions, 0 deletions
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 <atk/atk.h>
+#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)