[orca] Remove another redundant check related to text objects



commit a8ce092262e75a6f95f8a93374770e140bd17a7d
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Apr 22 22:11:59 2019 -0400

    Remove another redundant check related to text objects

 src/orca/scripts/web/script_utilities.py | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 2a9ad12ec..1ed2e23bc 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -931,12 +931,7 @@ class Utilities(script_utilities.Utilities):
             rv = None
 
         if not self.isLiveRegion(obj):
-            doNotQuery = [pyatspi.ROLE_TABLE_ROW,
-                          pyatspi.ROLE_TOOL_BAR]
-
-            if not self._script.browseModeIsSticky():
-                doNotQuery.append(pyatspi.ROLE_EMBEDDED)
-
+            doNotQuery = [pyatspi.ROLE_TABLE_ROW]
             role = obj.getRole()
             if rv and role in doNotQuery:
                 rv = None


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