diff options
author | Harry Lu <harry.lu@sun.com> | 2005-02-05 13:57:06 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2005-02-05 13:57:06 +0800 |
commit | 225b984f8c93e95827306c49496e326cb8e4e4f9 (patch) | |
tree | 8e9a41ad09188ce48cf25b34a861135439677eec /calendar | |
parent | 382d16b97138c5e6f272d81e44ec47aa3ae6cf63 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/dialogs/cal-attachment-bar.c | 3 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 1 |
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); |