[orca] Ignore state-changed:sensitive for filler role



commit 322ccd38717891f5e6a67dd4b6b4554b3951f629
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Apr 20 12:45:47 2018 -0400

    Ignore state-changed:sensitive for filler role

 src/orca/event_manager.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 2bad552..9beeb7f 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -183,6 +183,7 @@ class EventManager:
 
         if event.type.startswith('object:state-changed:sensitive'):
             if role in [pyatspi.ROLE_MENU_ITEM,
+                        pyatspi.ROLE_FILLER,
                         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]