aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-component.c
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2005-01-04 18:10:30 +0800
committerHarry Lu <haip@src.gnome.org>2005-01-04 18:10:30 +0800
commit89ad7af7087312d4b0f1ae3652e7e1f64dc892d2 (patch)
treeec96cd0b05e726e26442dee2fd6bddc854118a57 /calendar/gui/tasks-component.c
parent58b382e0231ea9a4fefd33232856e8c9774fa282 (diff)
downloadgsoc2013-evolution-89ad7af7087312d4b0f1ae3652e7e1f64dc892d2.tar.gz
gsoc2013-evolution-89ad7af7087312d4b0f1ae3652e7e1f64dc892d2.tar.zst
gsoc2013-evolution-89ad7af7087312d4b0f1ae3652e7e1f64dc892d2.zip
add a11y name to calendar sidebar selector. add a11y name to task sidebar
2005-01-04 Harry Lu <harry.lu@sun.com> * 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
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r--calendar/gui/tasks-component.c3
1 files changed, 3 insertions, 0 deletions
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);