aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2005-02-05 13:57:06 +0800
committerHarry Lu <haip@src.gnome.org>2005-02-05 13:57:06 +0800
commit225b984f8c93e95827306c49496e326cb8e4e4f9 (patch)
tree8e9a41ad09188ce48cf25b34a861135439677eec /calendar/gui
parent382d16b97138c5e6f272d81e44ec47aa3ae6cf63 (diff)
downloadgsoc2013-evolution-225b984f8c93e95827306c49496e326cb8e4e4f9.tar.gz
gsoc2013-evolution-225b984f8c93e95827306c49496e326cb8e4e4f9.tar.zst
gsoc2013-evolution-225b984f8c93e95827306c49496e326cb8e4e4f9.zip
Add a11y name for attachment button and bars.
2005-02-04 Harry Lu <harry.lu@sun.com> Add a11y name for attachment button and bars. * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_new): * gui/dialogs/comp-editor.c: (setup_widgets): svn path=/trunk/; revision=28714
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/cal-attachment-bar.c3
-rw-r--r--calendar/gui/dialogs/comp-editor.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/cal-attachment-bar.c b/calendar/gui/dialogs/cal-attachment-bar.c
index 57c0cab5f1..c816026820 100644
--- a/calendar/gui/dialogs/cal-attachment-bar.c
+++ b/calendar/gui/dialogs/cal-attachment-bar.c
@@ -694,6 +694,9 @@ cal_attachment_bar_new (GtkAdjustment *adj)
gnome_icon_list_set_icon_border (icon_list, ICON_BORDER);
gnome_icon_list_set_text_spacing (icon_list, ICON_TEXT_SPACING);
gnome_icon_list_set_selection_mode (icon_list, GTK_SELECTION_MULTIPLE);
+
+ atk_object_set_name (gtk_widget_get_accessible (GTK_WIDGET (new)),
+ _("Attachment Bar"));
return GTK_WIDGET (new);
}
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 062b4b03e5..d91c55a348 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -572,6 +572,7 @@ setup_widgets (CompEditor *editor)
priv->attachment_expander = e_expander_new ("");
e_expander_set_label_widget (E_EXPANDER (priv->attachment_expander), expander_hbox);
+ atk_object_set_name (gtk_widget_get_accessible (priv->attachment_expander), _("Attachment Button: Press space key to toggle attachment bar"));
gtk_container_add (GTK_CONTAINER (priv->attachment_expander),
priv->attachment_scrolled_window);