1 new commit in wintenApps:
https://bitbucket.org/nvdaaddonteam/wintenapps/commits/93ce74ebd40a/
Changeset: 93ce74ebd40a
Branch: master
User: josephsl
Date: 2016-06-11 21:20:38+00:00
Summary: Initial support for Bank of America UWP app.
Affected #: 1 file
diff --git a/addon/appModules/bankofamerica.py
b/addon/appModules/bankofamerica.py
new file mode 100755
index 0000000..6bf031e
--- /dev/null
+++ b/addon/appModules/bankofamerica.py
@@ -0,0 +1,19 @@
+# WinTenApps/BankOfAmeria.py
+# Part of Windows 10 App Essentials collection
+# Copyright 2016 Joseph Lee, released under GPL.
+
+# Provides workarounds for BofA app.
+
+import appModuleHandler
+import controlTypes
+from NVDAObjects.UIA import UIA
+
+class AppModule(appModuleHandler.AppModule):
+
+ def event_NVDAObject_init(self, obj):
+ # A variation of Twitter button issue: this time, last child is
the one we're interested in.
+ if isinstance(obj, UIA) and obj.role ==
controlTypes.ROLE_BUTTON and obj.name == "":
+ try:
+ obj.name = obj.lastChild.name
+ except AttributeError:
+ pass
Repository URL: https://bitbucket.org/nvdaaddonteam/wintenapps/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.