[orca] Remove obsolete hack
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Remove obsolete hack
- Date: Mon, 28 Oct 2019 17:38:45 +0000 (UTC)
commit e159ca5ff24a6dc25758695d3e919861cc09c16c
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Oct 28 13:37:46 2019 -0400
Remove obsolete hack
src/orca/scripts/web/script_utilities.py | 13 -------------
1 file changed, 13 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 085277f83..60a36e0fd 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -2005,19 +2005,6 @@ class Utilities(script_utilities.Utilities):
return True
- def _treatAsLeafNode(self, obj):
- if super()._treatAsLeafNode(obj):
- return True
-
- if not self.isTextBlockElement(obj):
- return False
-
- for child in obj:
- if self.isTextBlockElement(child):
- return False
-
- return True
-
def textAtPoint(self, obj, x, y, coordType=None, boundary=None):
if coordType is None:
coordType = pyatspi.DESKTOP_COORDS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]