[orca] Remove STATE_FOCUSED and STATE_SELECTED as requirements for focus mode
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Remove STATE_FOCUSED and STATE_SELECTED as requirements for focus mode
- Date: Thu, 18 Sep 2014 12:57:12 +0000 (UTC)
commit ea7603913b370639f95b9f4b5a6947fc8674302b
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Sep 18 08:54:21 2014 -0400
Remove STATE_FOCUSED and STATE_SELECTED as requirements for focus mode
When using structural navigation, the grabFocus() we did might not be
sufficient to trigger a state-change.
src/orca/scripts/toolkits/Gecko/script.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 48ca2e9..119950a 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -1326,10 +1326,6 @@ class Script(default.Script):
except:
return False
- if not state.contains(pyatspi.STATE_FOCUSED) \
- and not state.contains(pyatspi.STATE_SELECTED):
- return False
-
if state.contains(pyatspi.STATE_EDITABLE) \
or state.contains(pyatspi.STATE_EXPANDABLE):
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]