aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog8
-rw-r--r--composer/e-msg-composer-attachment-bar.c3
-rw-r--r--composer/e-msg-composer.c1
3 files changed, 12 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 910502375a..557872f3b8 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,11 @@
+2005-02-16 Harry Lu <harry.lu@sun.com>
+
+ Add a11y name for attachment button and bars
+
+ * e-msg-composer-attachment-bar.c:
+ (e_msg_composer_attachment_bar_new):
+ * e-msg-composer.c: (create_composer):
+
2005-02-10 Not Zed <NotZed@Ximian.com>
** See bug #66126.
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index d2e44ca8b8..8a7b4357f4 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -698,6 +698,9 @@ e_msg_composer_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/composer/e-msg-composer.c b/composer/e-msg-composer.c
index f825542999..76483c76b6 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3490,6 +3490,7 @@ create_composer (int visible_mask)
composer->attachment_expander = e_expander_new ("");
e_expander_set_label_widget (E_EXPANDER (composer->attachment_expander), expander_hbox);
+ atk_object_set_name (gtk_widget_get_accessible (composer->attachment_expander), _("Attachment Button: Press space key to toggle attachment bar"));
gtk_container_add (GTK_CONTAINER (composer->attachment_expander),
composer->attachment_scrolled_window);