[orca/gnome-3-14] Don't switch to focus mode if the object is a text block element
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-14] Don't switch to focus mode if the object is a text block element
- Date: Tue, 23 Sep 2014 12:24:06 +0000 (UTC)
commit 7b6b8f1139f21c85dd5d861ce4e806c98b87fc86
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Sep 19 22:37:07 2014 -0400
Don't switch to focus mode if the object is a text block element
src/orca/scripts/toolkits/Gecko/script.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 119950a..323721f 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -1350,7 +1350,8 @@ class Script(default.Script):
pyatspi.ROLE_TREE_TABLE,
pyatspi.ROLE_TREE]
- if role in focusModeRoles:
+ if role in focusModeRoles \
+ and not self.utilities.isTextBlockElement(obj):
return True
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]