[evolution-patches] add a11y name for attachment button and bars (for mail and calendar)
- From: Harry Lu <Harry Lu Sun COM>
- To: evolution-patches <evolution-patches ximian com>
- Subject: [evolution-patches] add a11y name for attachment button and bars (for mail and calendar)
- Date: Fri, 04 Feb 2005 17:04:37 +0800
NotZed and Rodrigo,
Here are two patches for mail and calendar seperately. Please review
them.
Thanks!
Harry
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.680
diff -u -r1.680 ChangeLog
--- ChangeLog 25 Jan 2005 02:25:24 -0000 1.680
+++ ChangeLog 4 Feb 2005 09:00:40 -0000
@@ -1,3 +1,11 @@
+2005-02-04 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-01-24 Hans Petter Jansson <hpj novell com>
* e-msg-composer-hdrs.c (create_addressbook_entry): Set pointers to the
Index: e-msg-composer-attachment-bar.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer-attachment-bar.c,v
retrieving revision 1.95
diff -u -r1.95 e-msg-composer-attachment-bar.c
--- e-msg-composer-attachment-bar.c 22 Dec 2004 07:37:36 -0000 1.95
+++ e-msg-composer-attachment-bar.c 4 Feb 2005 09:00:43 -0000
@@ -696,6 +696,9 @@
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);
}
Index: e-msg-composer.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer.c,v
retrieving revision 1.497
diff -u -r1.497 e-msg-composer.c
--- e-msg-composer.c 12 Jan 2005 02:12:04 -0000 1.497
+++ e-msg-composer.c 4 Feb 2005 09:01:01 -0000
@@ -3485,6 +3485,7 @@
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);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2654
diff -u -r1.2654 ChangeLog
--- ChangeLog 4 Feb 2005 06:55:41 -0000 1.2654
+++ ChangeLog 4 Feb 2005 09:01:12 -0000
@@ -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 Vivek Jain <jvivek novell com>
* calendar-errors.xml.h
Index: gui/dialogs/cal-attachment-bar.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/cal-attachment-bar.c,v
retrieving revision 1.6
diff -u -r1.6 cal-attachment-bar.c
--- gui/dialogs/cal-attachment-bar.c 18 Jan 2005 08:58:02 -0000 1.6
+++ gui/dialogs/cal-attachment-bar.c 4 Feb 2005 09:01:16 -0000
@@ -694,6 +694,9 @@
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);
}
Index: gui/dialogs/comp-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/comp-editor.c,v
retrieving revision 1.118
diff -u -r1.118 comp-editor.c
--- gui/dialogs/comp-editor.c 1 Feb 2005 17:30:49 -0000 1.118
+++ gui/dialogs/comp-editor.c 4 Feb 2005 09:01:20 -0000
@@ -564,6 +564,7 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]