aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2005-02-16 13:33:15 +0800
committerHarry Lu <haip@src.gnome.org>2005-02-16 13:33:15 +0800
commitbc28593619fe980d753b87d87c9bab7c370d8829 (patch)
tree5de4175d2ae381b2110d664f350d7e4ee7eec21d /composer
parent593cd183ee41d578168cbcd09743c538866e8637 (diff)
downloadgsoc2013-evolution-bc28593619fe980d753b87d87c9bab7c370d8829.tar
gsoc2013-evolution-bc28593619fe980d753b87d87c9bab7c370d8829.tar.gz
gsoc2013-evolution-bc28593619fe980d753b87d87c9bab7c370d8829.tar.bz2
gsoc2013-evolution-bc28593619fe980d753b87d87c9bab7c370d8829.tar.lz
gsoc2013-evolution-bc28593619fe980d753b87d87c9bab7c370d8829.tar.xz
gsoc2013-evolution-bc28593619fe980d753b87d87c9bab7c370d8829.tar.zst
gsoc2013-evolution-bc28593619fe980d753b87d87c9bab7c370d8829.zip
Add a11y name for attachment button and bars
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): svn path=/trunk/; revision=28802
Diffstat (limited to 'composer')
-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);