[orca] Only generate full table row when in focus mode
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Only generate full table row when in focus mode
- Date: Sat, 6 Aug 2016 16:08:20 +0000 (UTC)
commit abd2e34508e90e0e45970d7628420889c02b242d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Aug 6 12:07:53 2016 -0400
Only generate full table row when in focus mode
src/orca/scripts/web/braille_generator.py | 2 +-
src/orca/scripts/web/speech_generator.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/web/braille_generator.py b/src/orca/scripts/web/braille_generator.py
index bcdecea..14ee288 100644
--- a/src/orca/scripts/web/braille_generator.py
+++ b/src/orca/scripts/web/braille_generator.py
@@ -140,7 +140,7 @@ class BrailleGenerator(braille_generator.BrailleGenerator):
return result
def _generateTableCellRow(self, obj, **args):
- if not self._script.utilities.inDocumentContent(obj):
+ if not self._script.inFocusMode():
return super()._generateTableCellRow(obj, **args)
if not self._script.utilities.shouldReadFullRow(obj):
diff --git a/src/orca/scripts/web/speech_generator.py b/src/orca/scripts/web/speech_generator.py
index 6d2ea4b..a9e4659 100644
--- a/src/orca/scripts/web/speech_generator.py
+++ b/src/orca/scripts/web/speech_generator.py
@@ -431,7 +431,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
return result
def _generateTableCellRow(self, obj, **args):
- if not self._script.utilities.inDocumentContent(obj):
+ if not self._script.inFocusMode():
return super()._generateTableCellRow(obj, **args)
if not self._script.utilities.shouldReadFullRow(obj):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]