aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorHao Sheng <hao.sheng@sun.com>2005-01-18 18:47:57 +0800
committerHarry Lu <haip@src.gnome.org>2005-01-18 18:47:57 +0800
commite924cb911ede740f943176d374873a587b152a80 (patch)
treeee40e00127deafaa5b4026de012713946a6f54df /addressbook
parent9c3e0bf51db37dc58a64d35bb22fdd5672c824c1 (diff)
downloadgsoc2013-evolution-e924cb911ede740f943176d374873a587b152a80.tar
gsoc2013-evolution-e924cb911ede740f943176d374873a587b152a80.tar.gz
gsoc2013-evolution-e924cb911ede740f943176d374873a587b152a80.tar.bz2
gsoc2013-evolution-e924cb911ede740f943176d374873a587b152a80.tar.lz
gsoc2013-evolution-e924cb911ede740f943176d374873a587b152a80.tar.xz
gsoc2013-evolution-e924cb911ede740f943176d374873a587b152a80.tar.zst
gsoc2013-evolution-e924cb911ede740f943176d374873a587b152a80.zip
add a11y name for the contact's treeview.
2005-01-18 Hao Sheng <hao.sheng@sun.com> * gui/component/addressbook-view.c: (addressbook_view_init): add a11y name for the contact's treeview. svn path=/trunk/; revision=28434
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook-view.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 7c2ef35907..c5aa341d92 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-18 Hao Sheng <hao.sheng@sun.com>
+
+ * gui/component/addressbook-view.c:
+ (addressbook_view_init): add a11y name for the contact's
+ treeview.
+
2005-01-18 Hao Sheng <hao.sheng@sun.com>
* gui/contact-editor/contact-editor.glade:
diff --git a/addressbook/gui/component/addressbook-view.c b/addressbook/gui/component/addressbook-view.c
index e034e08753..f8b4802c0d 100644
--- a/addressbook/gui/component/addressbook-view.c
+++ b/addressbook/gui/component/addressbook-view.c
@@ -1075,6 +1075,7 @@ addressbook_view_init (AddressbookView *view)
{
AddressbookViewPrivate *priv;
GtkWidget *selector_scrolled_window;
+ AtkObject *a11y;
view->priv =
priv = g_new0 (AddressbookViewPrivate, 1);
@@ -1125,6 +1126,8 @@ addressbook_view_init (AddressbookView *view)
g_signal_connect (priv->selector, "drag-drop", G_CALLBACK (selector_tree_drag_drop), view);
g_signal_connect (priv->selector, "drag-data-received", G_CALLBACK (selector_tree_drag_data_received), view);
gtk_drag_dest_set (priv->selector, GTK_DEST_DEFAULT_ALL, drag_types, num_drag_types, GDK_ACTION_COPY | GDK_ACTION_MOVE);
+ a11y = gtk_widget_get_accessible (GTK_WIDGET (priv->selector));
+ atk_object_set_name (a11y, _("Contact Source Selector"));
e_source_selector_show_selection (E_SOURCE_SELECTOR (priv->selector), FALSE);
gtk_widget_show (priv->selector);