[orca] Don't filter out duplicate names for locusOfFocus
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't filter out duplicate names for locusOfFocus
- Date: Mon, 4 Jun 2018 17:54:32 +0000 (UTC)
commit 56604329d349dd2bb7467fab33c71203977d64bc
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Jun 4 19:53:42 2018 +0200
Don't filter out duplicate names for locusOfFocus
src/orca/scripts/web/speech_generator.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/speech_generator.py b/src/orca/scripts/web/speech_generator.py
index 2f80bd44e..457d58429 100644
--- a/src/orca/scripts/web/speech_generator.py
+++ b/src/orca/scripts/web/speech_generator.py
@@ -169,7 +169,8 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
and not self._script.utilities.isDPub(obj):
return []
- if obj.parent and obj.name and obj.name == obj.parent.name:
+ if obj.parent and obj.name and obj.name == obj.parent.name \
+ and obj != orca_state.locusOfFocus:
return []
# TODO - JD: Once the formatting strings are vastly cleaned up
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]