diff options
author | Mengjie Yu <meng-jie.yu@sun.com> | 2005-01-24 18:13:48 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2005-01-24 18:13:48 +0800 |
commit | 222fa49b198bfc1afe9babf05925200a847fc917 (patch) | |
tree | 36f680c08ed9c771d8a7de267a7f4800d492754b | |
parent | 953d7ae9632665e2305db3a248c7a72fec2d9805 (diff) | |
download | gsoc2013-evolution-222fa49b198bfc1afe9babf05925200a847fc917.tar.gz gsoc2013-evolution-222fa49b198bfc1afe9babf05925200a847fc917.tar.zst gsoc2013-evolution-222fa49b198bfc1afe9babf05925200a847fc917.zip |
add a11y name for the option menu.
2005-01-24 Mengjie Yu <meng-jie.yu@sun.com>
* e-search-bar.c: (set_option):
add a11y name for the option menu.
svn path=/trunk/; revision=28523
-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 (); |