[orca] Ignore text insertions from menus and menu items
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Ignore text insertions from menus and menu items
- Date: Mon, 9 Feb 2015 17:43:32 +0000 (UTC)
commit 44ac52e426eb1997097cdaa0e40c0c63be397396
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Feb 9 12:42:37 2015 -0500
Ignore text insertions from menus and menu items
We shouldn't even be getting these events in the first place, but....
src/orca/scripts/default.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 77e3b78..33fa06b 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -2622,6 +2622,8 @@ class Script(script.Script):
return
ignoreRoles = [pyatspi.ROLE_LABEL,
+ pyatspi.ROLE_MENU,
+ pyatspi.ROLE_MENU_ITEM,
pyatspi.ROLE_SLIDER,
pyatspi.ROLE_SPIN_BUTTON]
role = event.source.getRole()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]