[orca] Fix (unused) predicate for link matches in structural navigation
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix (unused) predicate for link matches in structural navigation
- Date: Mon, 25 Apr 2022 15:15:52 +0000 (UTC)
commit 2788fe3a88db822a9823fb6c15de545b9950112d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Apr 25 17:14:32 2022 +0200
Fix (unused) predicate for link matches in structural navigation
This method isn't actually used, but until it is removed it should be
correct. (Found while debugging something related.)
src/orca/structural_navigation.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index bb78ed650..1a016d3e4 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -3226,7 +3226,7 @@ class StructuralNavigation:
isMatch = False
if obj and obj.getRole() == pyatspi.ROLE_LINK:
state = obj.getState()
- isMatch = not state.contains(pyatspi.STATE_FOCUSABLE)
+ isMatch = state.contains(pyatspi.STATE_FOCUSABLE)
return isMatch
def _linkPresentation(self, obj, arg=None):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]