[orca] Increase minimum word requirement for panel unrelated labels
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Increase minimum word requirement for panel unrelated labels
- Date: Sun, 29 Apr 2018 22:22:32 +0000 (UTC)
commit 0fc6af4587cb0e94de81e046b3ca50536c47cab3
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Apr 29 18:20:33 2018 -0400
Increase minimum word requirement for panel unrelated labels
src/orca/speech_generator.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index 2336b20..050a517 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -449,7 +449,7 @@ class SpeechGenerator(generator.Generator):
minimumWords = 1
role = args.get('role', obj.getRole())
- if role == pyatspi.ROLE_DIALOG:
+ if role in [pyatspi.ROLE_DIALOG, pyatspi.ROLE_PANEL]:
minimumWords = 3
labels = self._script.utilities.unrelatedLabels(obj, visibleOnly, minimumWords)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]