diff options
author | Niklas Johansson <sleeping.pillow@gmail.com> | 2014-02-07 20:00:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-08 12:30:43 +0000 |
commit | 812da991eb3ea082e925eccf76698aa4415309b8 (patch) | |
tree | 298177d50ba22da0f0d71152dd52502edcb3515c | |
parent | 43feacd5330b5652b58e8a75a0f41a78ee6ebe1c (diff) |
The accessible action "click" changed name to "press", adjust wrapper accordingly
The commit efb23f29983f87104a684e7fab00b84fc59d131d 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/7932
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/osx/a11yactionwrapper.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/a11yactionwrapper.mm b/vcl/osx/a11yactionwrapper.mm index 31dc39527ecd..fa0de9608950 100644 --- a/vcl/osx/a11yactionwrapper.mm +++ b/vcl/osx/a11yactionwrapper.mm @@ -30,7 +30,7 @@ +(NSString *)nativeActionNameFor:(NSString *)actionName { // TODO: Optimize ? // Use NSAccessibilityActionDescription - if ( [ actionName isEqualToString: @"click" ] ) { + if ( [ actionName isEqualToString: @"press" ] ) { return NSAccessibilityPressAction; } else if ( [ actionName isEqualToString: @"togglePopup" ] ) { return NSAccessibilityShowMenuAction; |