[orca] Fix a silly bug in isNavigableAria()



commit 0cb9917ae1882a78694ed549e3e8ea24e55f6d10
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Jan 11 19:24:07 2014 -0500

    Fix a silly bug in isNavigableAria()

 src/orca/scripts/toolkits/Gecko/script.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index e12bc93..1c74c85 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -1978,7 +1978,7 @@ class Script(default.Script):
             # this off to Firefox's native caret navigation because who knows
             # where we'll wind up....
             #
-            if state.contains(pyatspi.STATE_SHOWING):
+            if not state.contains(pyatspi.STATE_SHOWING):
                 return True
 
         # Sometimes the child of an ARIA widget claims focus. It may lack


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