[orca] Treat panels named after the application as layout only
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Treat panels named after the application as layout only
- Date: Fri, 19 Apr 2019 23:09:12 +0000 (UTC)
commit 5ed020f2cc1bf328dbef0ec56924c488e54f180d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Apr 19 19:07:38 2019 -0400
Treat panels named after the application as layout only
src/orca/script_utilities.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index ea1e99aed..3debd8301 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1487,6 +1487,8 @@ class Utilities:
elif role == pyatspi.ROLE_PANEL and obj.childCount and firstChild \
and firstChild.getRole() in ignorePanelParent:
layoutOnly = True
+ elif role == pyatspi.ROLE_PANEL and obj.name == obj.getApplication().name:
+ layoutOnly = True
elif obj.childCount == 1 and obj.name and obj.name == firstChild.name:
layoutOnly = True
elif self.isHidden(obj):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]