diff options
-rw-r--r-- | widgets/misc/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 5 |
2 files changed, 12 insertions, 0 deletions
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 <harry.lu@sun.com> + + Fix for 62831. + + * e-search-bar.c: (activate_by_subitems): add an a11y name for + the search entry. + 2005-01-12 Chenthill Palanisamy <pchenthill@novell.com> * 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; } |