diff options
author | Harry Lu <harry.lu@sun.com> | 2005-01-17 16:56:49 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2005-01-17 16:56:49 +0800 |
commit | f143158ccc1d6c5b98002f3020bc3b5695137f29 (patch) | |
tree | 65c60bdd9913e8588798ae89511f4ef161070c79 /widgets/misc/e-search-bar.c | |
parent | ba5a358d5396ac4e2d62ad1473420648af4f121e (diff) | |
download | gsoc2013-evolution-f143158ccc1d6c5b98002f3020bc3b5695137f29.tar.gz gsoc2013-evolution-f143158ccc1d6c5b98002f3020bc3b5695137f29.tar.zst gsoc2013-evolution-f143158ccc1d6c5b98002f3020bc3b5695137f29.zip |
Fix for 62831.
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.
svn path=/trunk/; revision=28416
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r-- | widgets/misc/e-search-bar.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |