[orca/gnome-3-26] Do explicit,	just-in-case notification when focus leaves Firefox find toolbar
- From: Joanmarie Diggs <joanied src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [orca/gnome-3-26] Do explicit,	just-in-case notification when focus leaves Firefox find toolbar
 
- Date: Tue, 21 Nov 2017 17:47:44 +0000 (UTC)
 
commit 203b55abf31b4b25786c8a2c2a2e92bd2b57115d
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Nov 21 12:46:27 2017 -0500
    Do explicit, just-in-case notification when focus leaves Firefox find toolbar
 src/orca/scripts/web/script.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index 80a9521..763e34b 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1650,9 +1650,10 @@ class Script(default.Script):
 
             obj, offset = self.utilities.searchForCaretContext(event.source)
             if obj:
+                notify = self.utilities.inFindToolbar(orca_state.locusOfFocus)
                 msg = "WEB: Updating focus and context to %s, %i" % (obj, offset)
                 debug.println(debug.LEVEL_INFO, msg, True)
-                orca.setLocusOfFocus(event, obj, False)
+                orca.setLocusOfFocus(event, obj, notify)
                 self.utilities.setCaretContext(obj, offset)
             else:
                 msg = "WEB: Search for caret context failed"
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]