summaryrefslogtreecommitdiff
path: root/gtk/a11y
diff options
context:
space:
mode:
authorAlejandro PiƱeiro <apinheiro@igalia.com>2013-09-10 19:29:56 +0200
committerMatthias Clasen <mclasen@redhat.com>2013-09-10 22:46:35 -0400
commita86c66539887cb82867c55ffeadc00a870365a66 (patch)
treeb97d7fd87ff7deed2fcdfd62a2983a1ca2b38efb /gtk/a11y
parent096f2db4b00ffabd90faab7c4d2a8a8749b87c09 (diff)
downloadgtk+-a86c66539887cb82867c55ffeadc00a870365a66.tar.gz
a11y: not using default name for switch
A proper name or label is required. In the same way, if the widget is labelled, ATs uses to expose both the label and the name, making the final output not really user-friendly. https://bugzilla.gnome.org/show_bug.cgi?id=707872
Diffstat (limited to 'gtk/a11y')
-rw-r--r--gtk/a11y/gtkswitchaccessible.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/a11y/gtkswitchaccessible.c b/gtk/a11y/gtkswitchaccessible.c
index bd94d3e910..92e3cb346a 100644
--- a/gtk/a11y/gtkswitchaccessible.c
+++ b/gtk/a11y/gtkswitchaccessible.c
@@ -60,7 +60,6 @@ gtk_switch_accessible_initialize (AtkObject *accessible,
ATK_OBJECT_CLASS (gtk_switch_accessible_parent_class)->initialize (accessible, widget);
atk_object_set_role (accessible, ATK_ROLE_TOGGLE_BUTTON);
- atk_object_set_name (accessible, C_("light switch widget", "Switch"));
atk_object_set_description (accessible, _("Switches between on and off states"));
}