diff options
author | Mengjie Yu <meng-jie.yu@sun.com> | 2005-01-04 16:51:15 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2005-01-04 16:51:15 +0800 |
commit | 58b382e0231ea9a4fefd33232856e8c9774fa282 (patch) | |
tree | eb100b1a1138e168689365387778c4df2b187163 /mail/em-folder-tree.c | |
parent | c42dbb42c75a1901f475f07ee66ea44ce8b6219c (diff) | |
download | gsoc2013-evolution-58b382e0231ea9a4fefd33232856e8c9774fa282.tar.gz gsoc2013-evolution-58b382e0231ea9a4fefd33232856e8c9774fa282.tar.zst gsoc2013-evolution-58b382e0231ea9a4fefd33232856e8c9774fa282.zip |
add atk name for the treeview.
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.
svn path=/trunk/; revision=28230
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |