From bec10b42d373fb28d11df5302d9591394943e3af Mon Sep 17 00:00:00 2001
From: Li Yuan <li.yuan@sun.com>
Date: Tue, 25 Jan 2005 11:18:16 +0000
Subject: add a11y name to task table.

2005-01-25  Li Yuan  <li.yuan@sun.com>

	* gui/e-calendar-table.c: (e_calendar_table_init):
	add a11y name to task table.

svn path=/trunk/; revision=28550
---
 calendar/ChangeLog              | 5 +++++
 calendar/gui/e-calendar-table.c | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 3c8b6d0869..89435f2dde 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-25  Li Yuan  <li.yuan@sun.com>
+
+	* gui/e-calendar-table.c: (e_calendar_table_init):
+	add a11y name to task table.
+
 2005-01-24  Rodrigo Moya <rodrigo@novell.com>
 
 	* gui/dialogs/recurrence-page.c (sensitize_buttons): if there are
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 1141635308..a3d50bb475 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -294,6 +294,7 @@ e_calendar_table_init (ECalendarTable *cal_table)
 	gint i;
 	GdkPixbuf *pixbuf;
 	GList *strings;
+	AtkObject *a11y;
 
 	/* Create the model */
 
@@ -509,6 +510,10 @@ e_calendar_table_init (ECalendarTable *cal_table)
 	g_signal_connect (e_table, "right_click", G_CALLBACK (e_calendar_table_on_right_click), cal_table);
 	g_signal_connect (e_table, "key_press", G_CALLBACK (e_calendar_table_on_key_press), cal_table);
 	g_signal_connect (e_table, "popup_menu", G_CALLBACK (e_calendar_table_on_popup_menu), cal_table);
+
+	a11y = gtk_widget_get_accessible (e_table);
+	if (a11y)
+		atk_object_set_name (a11y, _("Task Table"));
 }
 
 
-- 
cgit v1.2.3