vcl/osx/a11yactionwrapper.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 812da991eb3ea082e925eccf76698aa4415309b8
Author: Niklas Johansson <sleeping.pil...@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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to