[orca] Defer to toolkit script for focus: events from menus in Eclipse
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Defer to toolkit script for focus: events from menus in Eclipse
- Date: Sun, 1 Jul 2018 14:48:48 +0000 (UTC)
commit e16646d3b03947e59f6f6170e6b2194d825f5a16
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Jul 1 10:47:59 2018 -0400
Defer to toolkit script for focus: events from menus in Eclipse
src/orca/scripts/apps/Eclipse/script.py | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/src/orca/scripts/apps/Eclipse/script.py b/src/orca/scripts/apps/Eclipse/script.py
index abe9e636c..fd194eb6c 100644
--- a/src/orca/scripts/apps/Eclipse/script.py
+++ b/src/orca/scripts/apps/Eclipse/script.py
@@ -84,14 +84,6 @@ class Script(GAIL.Script):
role = event.source.getRole()
- menuItems = [pyatspi.ROLE_CHECK_MENU_ITEM,
- pyatspi.ROLE_MENU,
- pyatspi.ROLE_MENU_ITEM,
- pyatspi.ROLE_RADIO_MENU_ITEM]
- if role in menuItems:
- orca.setLocusOfFocus(event, event.source)
- return
-
if role == pyatspi.ROLE_PANEL:
orca.setLocusOfFocus(event, event.source)
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]