aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMengjie Yu <meng-jie.yu@sun.com>2005-01-04 16:51:15 +0800
committerHarry Lu <haip@src.gnome.org>2005-01-04 16:51:15 +0800
commit58b382e0231ea9a4fefd33232856e8c9774fa282 (patch)
treeeb100b1a1138e168689365387778c4df2b187163
parentc42dbb42c75a1901f475f07ee66ea44ce8b6219c (diff)
downloadgsoc2013-evolution-58b382e0231ea9a4fefd33232856e8c9774fa282.tar
gsoc2013-evolution-58b382e0231ea9a4fefd33232856e8c9774fa282.tar.gz
gsoc2013-evolution-58b382e0231ea9a4fefd33232856e8c9774fa282.tar.bz2
gsoc2013-evolution-58b382e0231ea9a4fefd33232856e8c9774fa282.tar.lz
gsoc2013-evolution-58b382e0231ea9a4fefd33232856e8c9774fa282.tar.xz
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
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-folder-tree.c4
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;
}