aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/dialogs/cal-attachment-bar.c3
-rw-r--r--calendar/gui/dialogs/comp-editor.c1
3 files changed, 11 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index d6a005e932..7b59a7b45c 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+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):
+
2005-02-04 Rodney Dawes <dobey@novell.com>
* gui/dialogs/comp-editor.[ch]: Add a string to CompEditorPrivate to
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);