[orca] Don't fail to generate a substring on the basis of the name being the same
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't fail to generate a substring on the basis of the name being the same
- Date: Tue, 24 Nov 2015 04:08:37 +0000 (UTC)
commit d821e495c0a88b47e28129ae9d39813f95f458dd
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Nov 23 23:04:17 2015 -0500
Don't fail to generate a substring on the basis of the name being the same
src/orca/generator.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/generator.py b/src/orca/generator.py
index 953ac6e..0192dcc 100644
--- a/src/orca/generator.py
+++ b/src/orca/generator.py
@@ -861,8 +861,7 @@ class Generator:
return []
substring = self._script.utilities.substring(obj, start, end)
- if substring and substring.strip() != obj.name \
- and not self._script.EMBEDDED_OBJECT_CHARACTER in substring:
+ if substring and not self._script.EMBEDDED_OBJECT_CHARACTER in substring:
return [substring]
return []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]