[orca/gnome-3-36] Update the JavaAtkWrapper script's isSameObject() to include new attributes
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-36] Update the JavaAtkWrapper script's isSameObject() to include new attributes
- Date: Tue, 12 May 2020 23:56:02 +0000 (UTC)
commit 98c5844fbf7201c97c448b3aac2e8bd398a24bcb
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue May 12 19:16:39 2020 -0400
Update the JavaAtkWrapper script's isSameObject() to include new attributes
src/orca/scripts/toolkits/J2SE-access-bridge/script_utilities.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/J2SE-access-bridge/script_utilities.py
b/src/orca/scripts/toolkits/J2SE-access-bridge/script_utilities.py
index 8a9ebfff4..029c34338 100644
--- a/src/orca/scripts/toolkits/J2SE-access-bridge/script_utilities.py
+++ b/src/orca/scripts/toolkits/J2SE-access-bridge/script_utilities.py
@@ -55,7 +55,7 @@ class Utilities(script_utilities.Utilities):
# #
#########################################################################
- def isSameObject(self, obj1, obj2):
+ def isSameObject(self, obj1, obj2, comparePaths=False, ignoreNames=False):
"""Compares two objects to determine if they are functionally
the same object. This is needed because some applications and
toolkits kill and replace accessibles."""
@@ -100,7 +100,7 @@ class Utilities(script_utilities.Utilities):
except:
pass
- return script_utilities.Utilities.isSameObject(self, obj1, obj2)
+ return script_utilities.Utilities.isSameObject(self, obj1, obj2, comparePaths, ignoreNames)
def nodeLevel(self, obj):
"""Determines the node level of this object if it is in a tree
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]