[orca/gnome-3-12] Examine the new locusOfFocus (not the event.source) in locusOfFocusChanged
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-12] Examine the new locusOfFocus (not the event.source) in locusOfFocusChanged
- Date: Sun, 24 Aug 2014 05:34:31 +0000 (UTC)
commit c8d6eee440349d0b6c54eee309ecc7ff9f87b1ec
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Aug 24 01:09:20 2014 -0400
Examine the new locusOfFocus (not the event.source) in locusOfFocusChanged
src/orca/scripts/apps/soffice/script.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index 98dae93..8af8151 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -729,8 +729,8 @@ class Script(default.Script):
pyatspi.ROLE_ROOT_PANE,
pyatspi.ROLE_FRAME,
pyatspi.ROLE_APPLICATION]
- if self.utilities.hasMatchingHierarchy(event.source, rolesList):
- for child in event.source.parent:
+ if self.utilities.hasMatchingHierarchy(newLocusOfFocus, rolesList):
+ for child in newLocusOfFocus.parent:
if child.getRole() == pyatspi.ROLE_PAGE_TAB_LIST:
for tab in child:
eventState = tab.getState()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]