[orca] Switch back to browse mode upon page load, if focus mode is not sticky
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Switch back to browse mode upon page load, if focus mode is not sticky
- Date: Tue, 19 Aug 2014 19:17:25 +0000 (UTC)
commit 218274bb0129ecb2d091923e4e046ba9f1f5813e
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Aug 19 15:16:26 2014 -0400
Switch back to browse mode upon page load, if focus mode is not sticky
src/orca/scripts/toolkits/Gecko/script.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index ce98b67..a455e59 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -1001,6 +1001,9 @@ class Script(default.Script):
if not finishedLoading:
return
+ if not self._focusModeIsSticky:
+ self._inFocusMode = False
+
# Store the document frame otherwise the first time it gains focus (e.g.
# the first time the user arrows off of a link into non-focusable text),
# onFocused will start chatting unnecessarily.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]