[orca] Use pyatspi.cache.DEFAULT instead of pyatspi.cache.ALL in the Gecko script



commit be70607bd31089258c98dd5fc2fa4456603bb7d9
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Jan 13 12:10:52 2014 -0500

    Use pyatspi.cache.DEFAULT instead of pyatspi.cache.ALL in the Gecko script
    
    The latter was causing object attributes to not be updated.

 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 1c74c85..c1b3cdc 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -236,7 +236,7 @@ class Script(default.Script):
         self.inMouseOverObject = False
 
         # See bug 665522 - comment 5
-        app.setCacheMask(pyatspi.cache.ALL ^ pyatspi.cache.CHILDREN)
+        app.setCacheMask(pyatspi.cache.DEFAULT ^ pyatspi.cache.CHILDREN)
 
     def getBookmarks(self):
         """Returns the "bookmarks" class for this script.


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