[Libreoffice-commits] core.git: vcl/osx
Niklas Johansson
sleeping.pillow at gmail.com
Sat Feb 8 04:31:12 PST 2014
vcl/osx/a11yactionwrapper.mm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 812da991eb3ea082e925eccf76698aa4415309b8
Author: Niklas Johansson <sleeping.pillow at gmail.com>
Date: Fri Feb 7 20:00:57 2014 +0100
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/osx/a11yactionwrapper.mm b/vcl/osx/a11yactionwrapper.mm
index 31dc395..fa0de96 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;
More information about the Libreoffice-commits
mailing list