aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
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
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')
-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);