Index: gal/a11y/Makefile.am
===================================================================
RCS file: /cvs/gnome/gal/gal/a11y/Makefile.am,v
retrieving revision 1.3.2.3
diff -u -r1.3.2.3 Makefile.am
--- gal/a11y/Makefile.am	25 Jul 2003 04:08:26 -0000	1.3.2.3
+++ gal/a11y/Makefile.am	30 Jul 2003 09:12:54 -0000
@@ -30,7 +30,9 @@
 	gal-a11y-factory.h
 
 
-libgal_a11y_la_LIBADD =		\
-	e-paned/libgal-a11y-epaned.la	\
-	$(top_builddir)/gal/e-paned/libepaned.la	\
+libgal_a11y_la_LIBADD =	                                    \
+	e-paned/libgal-a11y-epaned.la	                    \
+	e-text/libgal-a11y-etext.la                         \
+	$(top_builddir)/gal/e-paned/libepaned.la	    \
+	$(top_builddir)/gal/e-text/libetext.la              \
 	$(EXTRA_GNOME_LIBS)
Index: gal/a11y/e-text/gal-a11y-e-text-factory.h
===================================================================
RCS file: /cvs/gnome/gal/gal/a11y/e-text/gal-a11y-e-text-factory.h,v
retrieving revision 1.1
diff -u -r1.1 gal-a11y-e-text-factory.h
--- gal/a11y/e-text/gal-a11y-e-text-factory.h	30 Nov 2002 07:54:16 -0000	1.1
+++ gal/a11y/e-text/gal-a11y-e-text-factory.h	30 Jul 2003 09:12:54 -0000
@@ -2,6 +2,7 @@
 /*
  * Authors:
  *   Christopher James Lahey <clahey@ximian.com>
+ *   Tim Wo <tim.wo@sun.com>
  *
  * Copyright (C) 2001 Chris Lahey
  */
@@ -22,11 +23,11 @@
 typedef struct _GalA11yETextFactoryClass GalA11yETextFactoryClass;
 
 struct _GalA11yETextFactory {
-	AtkObject object;
+	AtkObjectFactory object;
 };
 
 struct _GalA11yETextFactoryClass {
-	AtkObjectClass parent_class;
+	AtkObjectFactoryClass parent_class;
 };
 
 
Index: gal/a11y/e-text/gal-a11y-e-text.c
===================================================================
RCS file: /cvs/gnome/gal/gal/a11y/e-text/gal-a11y-e-text.c,v
retrieving revision 1.1
diff -u -r1.1 gal-a11y-e-text.c
--- gal/a11y/e-text/gal-a11y-e-text.c	30 Nov 2002 07:54:16 -0000	1.1
+++ gal/a11y/e-text/gal-a11y-e-text.c	30 Jul 2003 09:12:54 -0000
@@ -452,6 +452,8 @@
 
 	parent_class                          = g_type_class_ref (PARENT_TYPE);
 
+	component_parent_iface                = g_type_interface_peek(parent_class, ATK_TYPE_COMPONENT);
+	
 	object_class->dispose                 = et_dispose;
 }
 
Index: gal/e-text/e-text.c
===================================================================
RCS file: /cvs/gnome/gal/gal/e-text/e-text.c,v
retrieving revision 1.145
diff -u -r1.145 e-text.c
--- gal/e-text/e-text.c	14 May 2003 00:42:36 -0000	1.145
+++ gal/e-text/e-text.c	30 Jul 2003 09:12:58 -0000
@@ -66,6 +66,9 @@
 #include <libart_lgpl/art_rgb.h>
 #include <libart_lgpl/art_rgb_bitmap_affine.h>
 
+#include <atk/atk.h>
+#include "gal/a11y/e-text/gal-a11y-e-text-factory.h"
+
 #define PARENT_TYPE (gnome_canvas_item_get_type())
 
 #define BORDER_INDENT 3
@@ -3550,6 +3553,11 @@
 
 	if (!clipboard_atom)
 		clipboard_atom = gdk_atom_intern ("CLIPBOARD", FALSE);
+
+	atk_registry_set_factory_type (atk_get_default_registry (),
+                                       E_TYPE_TEXT,
+                                       gal_a11y_e_text_factory_get_type ());
+
 }
 
 /* Object initialization function for the text item */
