[orca] Ensure all keyword arguments get passed along when generating speech



commit 8236b023183582745564e89962290aecda8c7de1
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Jul 5 12:52:41 2018 -0400

    Ensure all keyword arguments get passed along when generating speech

 src/orca/scripts/web/script.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index 85d4885aa..f8d303ebb 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -854,7 +854,7 @@ class Script(default.Script):
         offset = args.get("offset", 0)
         contents = self.utilities.getObjectContentsAtOffset(obj, offset)
         self.displayContents(contents)
-        self.speakContents(contents, priorObj=priorObj)
+        self.speakContents(contents, **args)
  
     def updateBrailleForNewCaretPosition(self, obj):
         """Try to reposition the cursor without having to do a full update."""


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]