[orca] Fix regression in name presentation
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix regression in name presentation
- Date: Mon, 4 Jun 2018 15:20:26 +0000 (UTC)
commit f3480e0d2a8c80c16fb639774c1ea026cb4a58c4
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Jun 4 17:19:45 2018 +0200
Fix regression in name presentation
src/orca/scripts/web/speech_generator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/speech_generator.py b/src/orca/scripts/web/speech_generator.py
index dee4ead14..2f80bd44e 100644
--- a/src/orca/scripts/web/speech_generator.py
+++ b/src/orca/scripts/web/speech_generator.py
@@ -169,7 +169,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
and not self._script.utilities.isDPub(obj):
return []
- if obj.parent and obj.name == obj.parent.name:
+ if obj.parent and obj.name and obj.name == obj.parent.name:
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]