[orca] Fix for bgo#620156 - Caret-moved events not presented in OOo Writer 3.2's Hyperlink dialog
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bgo#620156 - Caret-moved events not presented in OOo Writer 3.2's Hyperlink dialog
- Date: Tue, 1 Jun 2010 01:43:26 +0000 (UTC)
commit 9a56814d1e2fa584f51cfdad8a7294ba969d557e
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Mon May 31 21:42:25 2010 -0400
Fix for bgo#620156 - Caret-moved events not presented in OOo Writer 3.2's Hyperlink dialog
src/orca/scripts/apps/soffice/script.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index 082fc78..4f1ce2d 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -2131,11 +2131,15 @@ class Script(default.Script):
# object:active-descendant-changed events which cause us
# to set the locusOfFocus to the list item. If the user then
# arrows within the text portion, we will not present it due
- # to the event not being from the locusOfFocus.
+ # to the event not being from the locusOfFocus. A similar
+ # issue is present in the Target entry of the Hyperlink dialog
+ # for OOo 3.2.
#
if event.source.getRole() == pyatspi.ROLE_TEXT \
and self.utilities.ancestorWithRole(
- event.source, [pyatspi.ROLE_TOOL_BAR], [pyatspi.ROLE_FRAME]):
+ event.source,
+ [pyatspi.ROLE_TOOL_BAR, pyatspi.ROLE_DIALOG],
+ [pyatspi.ROLE_FRAME]):
orca.setLocusOfFocus(event, event.source, False)
default.Script.onCaretMoved(self, event)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]