From 89ad7af7087312d4b0f1ae3652e7e1f64dc892d2 Mon Sep 17 00:00:00 2001 From: Harry Lu Date: Tue, 4 Jan 2005 10:10:30 +0000 Subject: add a11y name to calendar sidebar selector. add a11y name to task sidebar 2005-01-04 Harry Lu * gui/calendar-component.c: (create_component_view): add a11y name to calendar sidebar selector. * gui/tasks-component.c: (create_component_view): add a11y name to task sidebar selector. svn path=/trunk/; revision=28231 --- calendar/gui/calendar-component.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'calendar/gui/calendar-component.c') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 0b01900603..2c408c94e7 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -1042,6 +1042,7 @@ create_component_view (CalendarComponent *calendar_component) GtkWidget *selector_scrolled_window, *vbox; GtkWidget *statusbar_widget; guint not; + AtkObject *a11y; priv = calendar_component->priv; @@ -1055,6 +1056,8 @@ create_component_view (CalendarComponent *calendar_component) /* Create sidebar selector */ component_view->source_selector = e_source_selector_new (calendar_component->priv->source_list); e_source_selector_set_select_new ((ESourceSelector *)component_view->source_selector, TRUE); + a11y = gtk_widget_get_accessible (GTK_WIDGET (component_view->source_selector)); + atk_object_set_name (a11y, _("Calendar Source Selector")); g_signal_connect (component_view->source_selector, "drag-motion", G_CALLBACK (selector_tree_drag_motion), calendar_component); -- cgit