Kaydet (Commit) 812da991 authored tarafından Niklas Johansson's avatar Niklas Johansson Kaydeden (comit) Caolán McNamara

The accessible action "click" changed name to "press", adjust wrapper accordingly

The commit efb23f29 Integrate branch of IAccessible2" changed the name of the accessible action click to press
we need to adjust the action wrapper class on mac accordingly.

Change-Id: I406a44e5b4fb31f4f12859ee5380b62cc5cccdf4
Reviewed-on: https://gerrit.libreoffice.org/7932Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 43feacd5
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
+(NSString *)nativeActionNameFor:(NSString *)actionName { +(NSString *)nativeActionNameFor:(NSString *)actionName {
// TODO: Optimize ? // TODO: Optimize ?
// Use NSAccessibilityActionDescription // Use NSAccessibilityActionDescription
if ( [ actionName isEqualToString: @"click" ] ) { if ( [ actionName isEqualToString: @"press" ] ) {
return NSAccessibilityPressAction; return NSAccessibilityPressAction;
} else if ( [ actionName isEqualToString: @"togglePopup" ] ) { } else if ( [ actionName isEqualToString: @"togglePopup" ] ) {
return NSAccessibilityShowMenuAction; return NSAccessibilityShowMenuAction;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment