[gtk+] a11y: not using default name for switch



commit a86c66539887cb82867c55ffeadc00a870365a66
Author: Alejandro PiƱeiro <apinheiro igalia com>
Date:   Tue Sep 10 19:29:56 2013 +0200

    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

 gtk/a11y/gtkswitchaccessible.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/a11y/gtkswitchaccessible.c b/gtk/a11y/gtkswitchaccessible.c
index bd94d3e..92e3cb3 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"));
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]