[orca] Fix for bgo#590682 - Orca does not always speak the Paths table of the OOo Options dialog correctly
- From: Joanmarie Diggs <joanied src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [orca] Fix for bgo#590682 - Orca does not always speak the Paths table of the OOo Options dialog correctly
- Date: Sun, 16 Aug 2009 23:31:04 +0000 (UTC)
commit 700ef61f4fa4d9b822a1011ba7f4ba298e80fb42
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Sun Aug 16 19:00:37 2009 -0400
Fix for bgo#590682 - Orca does not always speak the Paths table of the OOo Options dialog correctly
src/orca/scripts/apps/soffice/script.py | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index 1ab722b..95e0c7b 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -1912,6 +1912,16 @@ class Script(default.Script):
handleEvent = True
presentEvent = False
+ if orca_state.locusOfFocus \
+ and self.isSameObject(orca_state.locusOfFocus, event.any_data):
+ # We're already on the new item. If we (or the default script)
+ # presents it, the speech.stop() will cause us to interrupt the
+ # presentation we're probably about to make due to an earlier
+ # event.
+ #
+ handleEvent = True
+ presentEvent = False
+
if handleEvent:
if presentEvent:
speech.stop()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]