[orca/gnome-3-14] Ignore text insertions from menus and menu items
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-14] Ignore text insertions from menus and menu items
- Date: Mon, 9 Feb 2015 17:43:58 +0000 (UTC)
commit 7816f59a160f8d6dc068e1de576a78f4c1f38a92
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 7eb57d8..c92cf46 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -2615,6 +2615,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]