[orca] Ignore name-change events for menu items
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Ignore name-change events for menu items
- Date: Fri, 20 Apr 2018 17:30:38 +0000 (UTC)
commit 396beeaa9c367e760373382bbd30a5e6954d3ff3
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Apr 20 13:30:16 2018 -0400
Ignore name-change events for menu items
src/orca/event_manager.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 68e4362..1bbc2ac 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -167,7 +167,8 @@ class EventManager:
if event.type.startswith('object:property-change:accessible-name'):
if role in [pyatspi.ROLE_CANVAS,
- pyatspi.ROLE_ICON]:
+ pyatspi.ROLE_ICON,
+ pyatspi.ROLE_MENU_ITEM]:
msg = 'EVENT MANAGER: Ignoring event type due to role'
debug.println(debug.LEVEL_INFO, msg, True)
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]