[Fwd: [evolution-patches] Add an a11y name for the search text entry]
- From: Harry Lu <Harry Lu Sun COM>
- To: gnome-i18n gnome org
- Cc: gnome-doc-list gnome org
- Subject: [Fwd: [evolution-patches] Add an a11y name for the search text entry]
- Date: Tue, 18 Jan 2005 11:19:53 +0800
Hi,
The attaching patch was committed into CVS HEAD.
Thanks!
Harry
--- Begin Message ---
- From: Harry Lu <Harry Lu Sun COM>
- To: evolution-patches <evolution-patches ximian com>
- Subject: [evolution-patches] Add an a11y name for the search text entry
- Date: Mon, 17 Jan 2005 14:29:39 +0800
Hi,
Here is a small a11y patch. Please review it.
Thanks!
Harry
Index: misc/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v
retrieving revision 1.342
diff -u -r1.342 ChangeLog
--- misc/ChangeLog 12 Jan 2005 14:03:41 -0000 1.342
+++ misc/ChangeLog 17 Jan 2005 06:23:54 -0000
@@ -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),
Index: misc/e-search-bar.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-search-bar.c,v
retrieving revision 1.79
diff -u -r1.79 e-search-bar.c
--- misc/e-search-bar.c 26 Jul 2004 15:30:14 -0000 1.79
+++ misc/e-search-bar.c 17 Jan 2005 06:23:55 -0000
@@ -325,6 +325,8 @@
/* 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);
@@ -334,6 +336,9 @@
G_CALLBACK (entry_activated_cb), esb);
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;
}
--- End Message ---
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]