William Bowling is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

wbowling / adium (fork of adium / adium)

Fork of Adium for patches/improvements

Clone this repository (size: 338.7 MB): HTTPS / SSH
hg clone https://bitbucket.org/wbowling/adium
hg clone ssh://hg@bitbucket.org/wbowling/adium

adium / Source / AIMessageWindowOutgoingScrollView.m

//
//  AIMessageWindowOutgoingScrollView.m
//  Adium
//
//  Created by Evan Schoenberg on 1/13/08.
//  Copyright 2008 The Adium Team. All rights reserved.
//

#import "AIMessageWindowOutgoingScrollView.h"


@implementation AIMessageWindowOutgoingScrollView

- (BOOL)accessibilityIsIgnored
{
        return YES;
}

- (void)setAccessibilityChild:(id)inChild
{
        accessibilityChild = inChild;
}

- (id)accessibilityAttributeValue:(NSString *)attribute
{
    if ([attribute isEqualToString:NSAccessibilityChildrenAttribute])
        return [NSArray arrayWithObject:accessibilityChild];

        else if ([attribute isEqualToString:NSAccessibilityParentAttribute])
                return NSAccessibilityUnignoredAncestor([self superview]);

        else
        return [super accessibilityAttributeValue:attribute];
}
@end