[orca] Remove a check related to ROLE_HTML_CONTAINER from the Gecko script.



commit e2e36440f456b6d827ac5f3867ce989747760ac3
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Jan 2 17:24:29 2013 -0500

    Remove a check related to ROLE_HTML_CONTAINER from the Gecko script.
    
    Gecko doesn't use this role any more, and we have enough hacks as it
    is for Gecko support to waste time on stuff we'll never see.

 src/orca/scripts/toolkits/Gecko/script.py |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 24d188c..cec95e4 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -2020,22 +2020,6 @@ class Script(default.Script):
                 if not inDialog:
                     return
 
-        # Don't bother speaking all the information about the HTML
-        # container - it's duplicated all over the place.  So, we
-        # just speak the role.
-        #
-        if newLocusOfFocus \
-           and newLocusOfFocus.getRole() == pyatspi.ROLE_HTML_CONTAINER:
-            # We always automatically go back to focus tracking mode when
-            # the focus changes.
-            #
-            if self.flatReviewContext:
-                self.toggleFlatReviewMode()
-            self.updateBraille(newLocusOfFocus)
-            speech.speak(
-                self.speechGenerator.getLocalizedRoleName(newLocusOfFocus))
-            return
-
         default.Script.locusOfFocusChanged(self,
                                            event,
                                            oldLocusOfFocus,



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