aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2005-01-17 16:56:49 +0800
committerHarry Lu <haip@src.gnome.org>2005-01-17 16:56:49 +0800
commitf143158ccc1d6c5b98002f3020bc3b5695137f29 (patch)
tree65c60bdd9913e8588798ae89511f4ef161070c79 /widgets/misc
parentba5a358d5396ac4e2d62ad1473420648af4f121e (diff)
downloadgsoc2013-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')
-rw-r--r--widgets/misc/ChangeLog7
-rw-r--r--widgets/misc/e-search-bar.c5
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;
}