[orca] Don't descend push buttons when looking for on-screen objects
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't descend push buttons when looking for on-screen objects
- Date: Tue, 30 Oct 2018 13:15:44 +0000 (UTC)
commit cd27fc1f40d03b26fe3bf619de30f8189eab9e99
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Oct 30 14:14:17 2018 +0100
Don't descend push buttons when looking for on-screen objects
src/orca/script_utilities.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 511eecbd1..8dbe1058d 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1960,6 +1960,9 @@ class Utilities:
if role == pyatspi.ROLE_COMBO_BOX:
return [root]
+ if role == pyatspi.ROLE_PUSH_BUTTON:
+ return [root]
+
if role == pyatspi.ROLE_MENU_BAR:
self._selectedMenuBarMenu[hash(root)] = self.selectedMenuBarMenu(root)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]