diff options
Diffstat (limited to 'widgets/text')
-rw-r--r-- | widgets/text/e-text.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 668a7315da..bda5f46eac 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -67,6 +67,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 @@ -3594,6 +3597,11 @@ e_text_class_init (ETextClass *klass) 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 */ |