[orca] Reduce chattiness with editable combobox descendants
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Reduce chattiness with editable combobox descendants
- Date: Thu, 25 Jul 2019 17:42:06 +0000 (UTC)
commit 6fa6956cfaa28ebcb3cff8727776c3c03fa6307d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Jul 25 13:41:38 2019 -0400
Reduce chattiness with editable combobox descendants
src/orca/scripts/web/speech_generator.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/orca/scripts/web/speech_generator.py b/src/orca/scripts/web/speech_generator.py
index e712f1d26..83548b213 100644
--- a/src/orca/scripts/web/speech_generator.py
+++ b/src/orca/scripts/web/speech_generator.py
@@ -79,6 +79,9 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
pyatspi.ROLE_LIST_ITEM,
pyatspi.ROLE_TEXT]
+ if self._script.utilities.isEditableDescendantOfComboBox(obj):
+ args['skipRoles'].append(pyatspi.ROLE_COMBO_BOX)
+
result.extend(super()._generateAncestors(obj, **args))
return result
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]