diff options
author | mengjie yu <meng-jie.yu@sun.com> | 2004-11-04 10:15:58 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2004-11-04 10:15:58 +0800 |
commit | 4abde8d89e965a56cbc5ff7c81b2220b6db2b338 (patch) | |
tree | 4dffe7da3038bb7f7648c4b5dcdb1dcd26dacbf1 | |
parent | 236a904db32148be27f3d6f14b7ab3a19b745c27 (diff) | |
download | gsoc2013-evolution-4abde8d89e965a56cbc5ff7c81b2220b6db2b338.tar.gz gsoc2013-evolution-4abde8d89e965a56cbc5ff7c81b2220b6db2b338.tar.zst gsoc2013-evolution-4abde8d89e965a56cbc5ff7c81b2220b6db2b338.zip |
fix for bugzilla #44876
2004-11-04 mengjie yu <meng-jie.yu@sun.com>
fix for bugzilla #44876
* gui/component/select-names/e-select-names-manager.c:
(e_select_names_manager_entry_new):add a atk name for the entry.
svn path=/trunk/; revision=27829
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-manager.c | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index dc183495f8..328297f11b 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2004-11-04 mengjie yu <meng-jie.yu@sun.com> + + fix for bugzilla #44876 + + * gui/component/select-names/e-select-names-manager.c: + (e_select_names_manager_entry_new):add a atk name for the entry. + 2004-11-2 Hao Sheng <hao.sheng@sun.com> * gui/widgets/e-minicard-view.c: popup right-click menu after diff --git a/addressbook/gui/component/select-names/e-select-names-manager.c b/addressbook/gui/component/select-names/e-select-names-manager.c index 43b69d9149..3f574e608c 100644 --- a/addressbook/gui/component/select-names/e-select-names-manager.c +++ b/addressbook/gui/component/select-names/e-select-names-manager.c @@ -199,6 +199,18 @@ e_select_names_manager_entry_new (ESelectNamesManager *manager, ESelectNamesMode entry->id = g_strdup (id); entry->entry = E_ENTRY (e_entry_new ()); + + if (atk_get_root () != NULL) { + AtkObject *a11y = atk_gobject_accessible_for_object (entry->entry->item); + if (a11y != NULL) { + gchar *text; + if (pango_parse_markup (id, -1, '_', NULL, + &text, NULL, NULL)) { + atk_object_set_name (a11y, text); + g_free (text); + } + } + } text_model = e_select_names_text_model_new (model); g_object_set(entry->entry, "model", text_model, /* The entry takes ownership of the text model */ |