[orca] Fix copy and paste error
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix copy and paste error
- Date: Tue, 23 Apr 2019 04:37:17 +0000 (UTC)
commit 96ffb68c7ff88e35d448437481df7df525ffef3a
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Apr 23 00:36:35 2019 -0400
Fix copy and paste error
src/orca/scripts/toolkits/Chromium/script.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Chromium/script.py b/src/orca/scripts/toolkits/Chromium/script.py
index 11ab3e1a5..d94d44343 100644
--- a/src/orca/scripts/toolkits/Chromium/script.py
+++ b/src/orca/scripts/toolkits/Chromium/script.py
@@ -163,7 +163,7 @@ class Script(web.Script):
def onCaretMoved(self, event):
"""Callback for object:text-caret-moved accessibility events."""
- if self.utilities.isStaticTextLeaf(obj):
+ if self.utilities.isStaticTextLeaf(event.source):
msg = "CHROMIUM: Ignoring event from static-text leaf"
debug.println(debug.LEVEL_INFO, msg, True)
return
@@ -363,7 +363,7 @@ class Script(web.Script):
def onTextSelectionChanged(self, event):
"""Callback for object:text-selection-changed accessibility events."""
- if self.utilities.isStaticTextLeaf(obj):
+ if self.utilities.isStaticTextLeaf(event.source):
msg = "CHROMIUM: Ignoring event from static-text leaf"
debug.println(debug.LEVEL_INFO, msg, True)
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]