aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-component.c3
-rw-r--r--calendar/gui/tasks-component.c3
2 files changed, 6 insertions, 0 deletions
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);
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index 7abf67bc87..60ac1cd868 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -839,6 +839,7 @@ create_component_view (TasksComponent *tasks_component)
TasksComponentView *component_view;
GtkWidget *selector_scrolled_window, *vbox;
GtkWidget *statusbar_widget;
+ AtkObject *a11y;
priv = tasks_component->priv;
@@ -851,6 +852,8 @@ create_component_view (TasksComponent *tasks_component)
/* Create sidebar selector */
component_view->source_selector = e_source_selector_new (tasks_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, _("Task Source Selector"));
g_signal_connect (component_view->source_selector, "drag-motion", G_CALLBACK (selector_tree_drag_motion),
tasks_component);