From 222fa49b198bfc1afe9babf05925200a847fc917 Mon Sep 17 00:00:00 2001 From: Mengjie Yu Date: Mon, 24 Jan 2005 10:13:48 +0000 Subject: add a11y name for the option menu. 2005-01-24 Mengjie Yu * e-search-bar.c: (set_option): add a11y name for the option menu. svn path=/trunk/; revision=28523 --- widgets/misc/ChangeLog | 6 ++++++ widgets/misc/e-search-bar.c | 5 +++++ 2 files changed, 11 insertions(+) (limited to 'widgets/misc') 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 + + * e-search-bar.c: (set_option): + add a11y name for the option menu. + + 2005-01-20 Not Zed ** 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 (); -- cgit v1.2.3