[orca] Fix for bgo#625458 - Orca is not presenting the new location when Tabbing amongst content in Gecko-b



commit ee1a68655f46be238fa61335318ae0153bbcc05b
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Wed Jul 28 02:47:11 2010 -0400

    Fix for bgo#625458 - Orca is not presenting the new location when Tabbing amongst content in Gecko-based Yelp

 src/orca/scripts/apps/yelp/script.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/scripts/apps/yelp/script.py b/src/orca/scripts/apps/yelp/script.py
index 30153c1..b9198b7 100644
--- a/src/orca/scripts/apps/yelp/script.py
+++ b/src/orca/scripts/apps/yelp/script.py
@@ -107,8 +107,8 @@ class Script(Gecko.Script):
         - event: the Event
         """
 
-        if self.utilities.utilities.inFindToolbar() \
-           and not self.utilities.utilities.inFindToolbar(event.source):
+        if self.utilities.inFindToolbar() \
+           and not self.utilities.inFindToolbar(event.source):
             self.lastFindContext = [event.source, event.detail1]
 
         # Unlike the unpredictable wild, wild web, odds are good that a
@@ -118,7 +118,7 @@ class Script(Gecko.Script):
         # Rather than risk breaking access to web content, we'll just set
         # the locusOfFocus here before sending this event on.
         #
-        elif self.utilities.inDocumentContent(event.source):
+        elif self.inDocumentContent(event.source):
             obj = event.source
             characterOffset = event.detail1
 
@@ -167,7 +167,7 @@ class Script(Gecko.Script):
         #
         if event.type.startswith("object:state-changed:showing") \
            and not event.detail1 \
-           and self.utilities.utilities.inFindToolbar(event.source):
+           and self.utilities.inFindToolbar(event.source):
             [obj, characterOffset] = self.lastFindContext
             self.lastFindContext = [None, -1]
             self.setCaretPosition(obj, characterOffset)



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