diff options
-rw-r--r-- | widgets/misc/ChangeLog | 6 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index c1b9e37905..42f8a7af49 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,9 @@ +2005-01-24 Mengjie Yu <meng-jie.yu@sun.com> + + * e-search-bar.c: (set_option): + add a11y name for the option menu. + + 2005-01-20 Not Zed <NotZed@Ximian.com> ** See bug #64964. diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index e0d86ab5c1..aa7dec34e3 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -636,9 +636,14 @@ set_option (ESearchBar *esb, ESearchBarItem *items) if (esb->option) { gtk_widget_destroy (esb->option_menu); } else { + AtkObject *a11y; + esb->option = gtk_option_menu_new (); gtk_widget_show (esb->option); gtk_box_pack_start (GTK_BOX (esb), esb->option, FALSE, FALSE, 0); + a11y = gtk_widget_get_accessible (esb->option); + atk_object_set_name (a11y, _("Search Type")); + } esb->option_menu = menu = gtk_menu_new (); |