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 /widgets/misc/e-search-bar.c | |
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
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r-- | widgets/misc/e-search-bar.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 (); |