From f143158ccc1d6c5b98002f3020bc3b5695137f29 Mon Sep 17 00:00:00 2001 From: Harry Lu Date: Mon, 17 Jan 2005 08:56:49 +0000 Subject: Fix for 62831. 2005-01-17 Harry Lu Fix for 62831. * e-search-bar.c: (activate_by_subitems): add an a11y name for the search entry. svn path=/trunk/; revision=28416 --- widgets/misc/ChangeLog | 7 +++++++ widgets/misc/e-search-bar.c | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index dfdbb7df99..e26b944509 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,10 @@ +2005-01-17 Harry Lu + + Fix for 62831. + + * e-search-bar.c: (activate_by_subitems): add an a11y name for + the search entry. + 2005-01-12 Chenthill Palanisamy * e-send-options.c: (e_send_options_get_widgets_data), diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index 3851fad9a7..fce19eac83 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -325,6 +325,8 @@ activate_by_subitems (ESearchBar *esb, gint item_id, ESearchBarSubitem *subitems /* Create and add the entry */ if (esb->entry == NULL) { + AtkObject *a11y; + esb->entry = gtk_entry_new(); gtk_widget_set_size_request (esb->entry, 4, -1); g_object_ref (esb->entry); @@ -335,6 +337,9 @@ activate_by_subitems (ESearchBar *esb, gint item_id, ESearchBarSubitem *subitems gtk_container_add (GTK_CONTAINER (esb->entry_box), esb->entry); gtk_widget_show(esb->entry); + a11y = gtk_widget_get_accessible (esb->entry); + atk_object_set_name (a11y, _("Search Text Entry")); + esb->subitem_id = -1; } -- cgit v1.2.3