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

@ -334,6 +334,7 @@ add_row (NetDeviceEthernet *device, NMConnection *connection)
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 (box), widget, FALSE, TRUE, 0);
g_object_set_data (G_OBJECT (row), "edit", widget);
g_object_set_data (G_OBJECT (widget), "row", row);