diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a180dcd440..8c17fb9cec 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2004-12-28 Mengjie Yu <meng-jie.yu@sun.com> + + * em-folder-tree.c: (em_folder_tree_new_with_model): + add atk name for the treeview. + 2004-12-22 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_needs_auth): moved to after diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 8ef1f59c74..ff6bb2636a 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -655,6 +655,7 @@ GtkWidget * em_folder_tree_new_with_model (EMFolderTreeModel *model) { EMFolderTree *emft; + AtkObject *a11y; emft = g_object_new (EM_TYPE_FOLDER_TREE, NULL); em_folder_tree_construct (emft, model); @@ -664,6 +665,9 @@ em_folder_tree_new_with_model (EMFolderTreeModel *model) emft->priv->loading_row_id = g_signal_connect (model, "loading-row", G_CALLBACK (emft_maybe_expand_row), emft); emft->priv->loaded_row_id = g_signal_connect (model, "loaded-row", G_CALLBACK (emft_maybe_expand_row), emft); + + a11y = gtk_widget_get_accessible (GTK_WIDGET (emft->priv->treeview)); + atk_object_set_name (a11y, _("Mail Folder Tree")); return (GtkWidget *) emft; } |