From bec10b42d373fb28d11df5302d9591394943e3af Mon Sep 17 00:00:00 2001
From: Li Yuan
Date: Tue, 25 Jan 2005 11:18:16 +0000
Subject: add a11y name to task table.
2005-01-25 Li Yuan
* gui/e-calendar-table.c: (e_calendar_table_init):
add a11y name to task table.
svn path=/trunk/; revision=28550
---
calendar/gui/e-calendar-table.c | 5 +++++
1 file changed, 5 insertions(+)
(limited to 'calendar/gui')
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