[orca] Don't ignore focused events for LO lists that manage descendants
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't ignore focused events for LO lists that manage descendants
- Date: Wed, 5 Aug 2015 16:47:54 +0000 (UTC)
commit 9fa53fa584a58f1d9030d58b3a7aab89874bec85
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Aug 5 12:46:54 2015 -0400
Don't ignore focused events for LO lists that manage descendants
Yet another custom widget not behaving the way we want or expect....
src/orca/scripts/apps/soffice/script.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index a04b97f..5e9d3f0 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -903,7 +903,8 @@ class Script(default.Script):
# We should present this in response to active-descendant-changed events
if event.source.getState().contains(pyatspi.STATE_MANAGES_DESCENDANTS):
- return
+ if role != pyatspi.ROLE_LIST:
+ return
default.Script.onFocusedChanged(self, event)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]