[orca] Add option to generate "old ancestors" in speech
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Add option to generate "old ancestors" in speech
- Date: Tue, 29 Oct 2013 15:50:44 +0000 (UTC)
commit 1a3fe2382224108368e2c8fa5a46ff6c6eddd3eb
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Oct 29 11:50:09 2013 -0400
Add option to generate "old ancestors" in speech
src/orca/formatting.py | 2 +-
src/orca/speech_generator.py | 7 +++++++
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 9d31904..cd06602 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -88,7 +88,7 @@ formatting = {
'speech': {
'prefix': {
'focused': '[]',
- 'unfocused': 'newAncestors + newRowHeader + newColumnHeader + newRadioButtonGroup',
+ 'unfocused': 'oldAncestors + newAncestors + newRowHeader + newColumnHeader +
newRadioButtonGroup',
'basicWhereAmI': 'toolbar',
'detailedWhereAmI' : '[]'
},
diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index eefd946..2a2e90c 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -1494,6 +1494,13 @@ class SpeechGenerator(generator.Generator):
result.reverse()
return result
+ def _generateOldAncestors(self, obj, **args):
+ """Returns an array of strings (and possibly voice and audio
+ specifications) that represent the text of the ancestors for
+ the object being left."""
+
+ return []
+
def _generateNewAncestors(self, obj, **args):
"""Returns an array of strings (and possibly voice and audio
specifications) that represent the text of the ancestors for
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]