aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/select-names/e-select-names-manager.c12
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 */