[orca] Fix c&p error
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix c&p error
- Date: Thu, 11 Apr 2019 19:19:15 +0000 (UTC)
commit aaf4ebd5d7cd0301b05eb2c21b83185765f87ff7
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Apr 11 15:18:32 2019 -0400
Fix c&p error
src/orca/scripts/web/script_utilities.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index ab47907a7..7d5b6d837 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -2330,8 +2330,8 @@ class Utilities(script_utilities.Utilities):
if rv is not None:
return rv
- isMenu = lambda x: x and x.getRole() == pyatspi.ROLE_TOOL_BAR
- rv = pyatspi.findAncestor(obj, isMenu) is not None
+ isToolBar = lambda x: x and x.getRole() == pyatspi.ROLE_TOOL_BAR
+ rv = pyatspi.findAncestor(obj, isToolBar) is not None
self._isToolBarDescendant[hash(obj)] = rv
return rv
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]