[orca] Fix a few missed instances of renamed live region manager
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix a few missed instances of renamed live region manager
- Date: Sat, 6 Jun 2015 17:36:32 +0000 (UTC)
commit c306613038e728cc061612e838bf0676a6029a9b
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Jun 6 13:36:07 2015 -0400
Fix a few missed instances of renamed live region manager
.../scripts/toolkits/Gecko/speech_generator.py | 2 +-
src/orca/structural_navigation.py | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/speech_generator.py
b/src/orca/scripts/toolkits/Gecko/speech_generator.py
index cdb0053..0e78cfa 100644
--- a/src/orca/scripts/toolkits/Gecko/speech_generator.py
+++ b/src/orca/scripts/toolkits/Gecko/speech_generator.py
@@ -107,7 +107,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
formatType = args.get('formatType')
if formatType == 'basicWhereAmI' and self._script.utilities.isLiveRegion(obj):
- return self._script.liveMngr.generateLiveRegionDescription(obj, **args)
+ return self._script.liveRegionManager.generateLiveRegionDescription(obj, **args)
role = args.get('role', obj.getRole())
if role == pyatspi.ROLE_TEXT and formatType != 'basicWhereAmI':
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index a9e79f3..ccd0b88 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -490,7 +490,7 @@ class StructuralNavigationObject:
def goLastLiveRegion(script, inputEvent):
"""Go to the last liveRegion."""
if settings.inferLiveRegions:
- script.liveMngr.goLastLiveRegion()
+ script.liveRegionManager.goLastLiveRegion()
else:
script.presentMessage(messages.LIVE_REGIONS_OFF)
@@ -2934,8 +2934,8 @@ class StructuralNavigation:
isMatch = False
- regobjs = self._script.liveMngr.getLiveNoneObjects()
- if self._script.liveMngr.matchLiveRegion(obj) or obj in regobjs:
+ regobjs = self._script.liveRegionManager.getLiveNoneObjects()
+ if self._script.liveRegionManager.matchLiveRegion(obj) or obj in regobjs:
isMatch = True
return isMatch
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]