[orca] Event Manager: Add state-changed:sensitive to ignore worthy during floods
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Event Manager: Add state-changed:sensitive to ignore worthy during floods
- Date: Sun, 13 Jun 2021 17:15:56 +0000 (UTC)
commit 7fb7075dd5650071322dbe5054af8c88f5fb4559
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Jun 13 19:14:59 2021 +0200
Event Manager: Add state-changed:sensitive to ignore worthy during floods
src/orca/event_manager.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 4b9ed7d2d..e1f81cee8 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -733,7 +733,8 @@ class EventManager:
"""Returns true if this event should be ignored during a deluge."""
ignore = ["object:text-changed:delete",
- "object:text-changed:insert"]
+ "object:text-changed:insert",
+ "object:state-changed:sensitive"]
if event.type not in ignore:
return False
@@ -753,7 +754,8 @@ class EventManager:
"""Returns true if this event should be processed during a flood."""
ignore = ["object:text-changed:delete",
- "object:text-changed:insert"]
+ "object:text-changed:insert",
+ "object:state-changed:sensitive"]
if event.type not in ignore:
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]