[orca/gnome-3-4] Fix braille rolename presentation for WebKitGtk content



commit 05d1a0a4f978da4acc559f94cd920047dd4fcd9f
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sun Apr 8 14:13:15 2012 -0400

    Fix braille rolename presentation for WebKitGtk content

 .../toolkits/WebKitGtk/braille_generator.py        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/WebKitGtk/braille_generator.py b/src/orca/scripts/toolkits/WebKitGtk/braille_generator.py
index 0d4ddfa..5dfd852 100644
--- a/src/orca/scripts/toolkits/WebKitGtk/braille_generator.py
+++ b/src/orca/scripts/toolkits/WebKitGtk/braille_generator.py
@@ -65,7 +65,7 @@ class BrailleGenerator(braille_generator.BrailleGenerator):
         result = []
         role = args.get('role', obj.getRole())
         if role == pyatspi.ROLE_HEADING:
-            level = self._script.utilities.headingLevel(obj)
+            result.extend(self.__generateHeadingRole(obj))
         elif not role in [pyatspi.ROLE_SECTION,
                           pyatspi.ROLE_FORM,
                           pyatspi.ROLE_UNKNOWN]:



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