network: Improve accessibility

Add accessible names for a number of switches and buttons which
don't have meaningful representation in orca, otherwise.

https://bugzilla.gnome.org/show_bug.cgi?id=693552
This commit is contained in:
Matthias Clasen 2013-02-11 18:22:11 -05:00
parent 1541274568
commit cea45f707c
7 changed files with 47 additions and 0 deletions

View file

@ -1536,6 +1536,7 @@ make_row (GtkSizeGroup *rows,
gtk_container_add (GTK_CONTAINER (widget), image);
gtk_widget_set_halign (widget, GTK_ALIGN_CENTER);
gtk_widget_set_valign (widget, GTK_ALIGN_CENTER);
atk_object_set_name (gtk_widget_get_accessible (widget), _("Options…"));
gtk_box_pack_start (GTK_BOX (row), widget, FALSE, FALSE, 0);
gtk_size_group_add_widget (spinner_button_group, widget);
g_object_set_data (G_OBJECT (row), "edit", widget);