OSDN Git Service

soffice app module: Tiny tweak to work a bit better with the early IAccessible2 suppo...
authorJames Teh <jamie@jantrid.net>
Wed, 13 Feb 2013 08:49:30 +0000 (18:49 +1000)
committerJames Teh <jamie@jantrid.net>
Wed, 13 Feb 2013 08:49:30 +0000 (18:49 +1000)
source/appModules/soffice.py

index 05c667c..967f23e 100755 (executable)
@@ -228,7 +228,7 @@ class AppModule(appModuleHandler.AppModule):
        def chooseNVDAObjectOverlayClasses(self, obj, clsList):\r
                role=obj.role\r
                windowClassName=obj.windowClassName\r
-               if isinstance(obj, IAccessible) and windowClassName in ("SALTMPSUBFRAME", "SALSUBFRAME"):\r
+               if isinstance(obj, IAccessible) and windowClassName in ("SALTMPSUBFRAME", "SALSUBFRAME", "SALFRAME"):\r
                        if role==controlTypes.ROLE_TABLECELL:\r
                                clsList.insert(0, SymphonyTableCell)\r
                        elif hasattr(obj, "IAccessibleTextObject"):\r