[orca] Fix a couple of nits
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix a couple of nits
- Date: Fri, 21 Aug 2015 18:11:46 +0000 (UTC)
commit 095bd4105d93405a63ac425ec9826a75e078cb0d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Aug 21 14:10:46 2015 -0400
Fix a couple of nits
src/orca/scripts/web/script.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index 19ec5a9..6796d74 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -955,7 +955,7 @@ class Script(default.Script):
"""Handles changes of focus of interest to the script."""
if newFocus and self.utilities.isZombie(newFocus):
- msg = "WEB: New focus is Zombie" % newFocus
+ msg = "WEB: New focus is Zombie: %s" % newFocus
debug.println(debug.LEVEL_INFO, msg)
return True
@@ -1066,7 +1066,7 @@ class Script(default.Script):
elif not _settingsManager.getSetting('sayAllOnLoad'):
msg = "WEB: Not doing SayAll due to sayAllOnLoad being False"
debug.println(debug.LEVEL_INFO, msg)
- self.speakContents(self.getLineContentsAtOffset(obj, offset))
+ self.speakContents(self.utilities.getLineContentsAtOffset(obj, offset))
elif _settingsManager.getSetting('enableSpeech'):
msg = "WEB: Doing SayAll"
debug.println(debug.LEVEL_INFO, msg)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]