[orca] Event Manager: Ignore sensitive-changed events on menu and panel
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Event Manager: Ignore sensitive-changed events on menu and panel
- Date: Fri, 26 Feb 2021 14:08:54 +0000 (UTC)
commit 99d52036f06b09f67150df921d5a8ceea79c940f
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Feb 26 15:04:13 2021 +0100
Event Manager: Ignore sensitive-changed events on menu and panel
More spam.
src/orca/event_manager.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 67f497c24..371f9d854 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -199,7 +199,9 @@ class EventManager:
return True
elif event.type.startswith('object:state-changed:sensitive'):
if role in [pyatspi.ROLE_MENU_ITEM,
+ pyatspi.ROLE_MENU,
pyatspi.ROLE_FILLER,
+ pyatspi.ROLE_PANEL,
pyatspi.ROLE_CHECK_MENU_ITEM,
pyatspi.ROLE_RADIO_MENU_ITEM]:
msg = 'EVENT MANAGER: Ignoring event type due to role'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]