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 / AIFileTransferProgressOutlineView.m

//
//  AIFileTransferProgressOutlineView.m
//  Adium
//
//  Created by Evan Schoenberg on 3/13/07.
//

#import "AIFileTransferProgressOutlineView.h"
#import "ESFileTransferProgressRow.h"
#import "ESFileTransferProgressView.h"

@implementation AIFileTransferProgressOutlineView
- (void)keyDown:(NSEvent *)theEvent
{
        NSString *charactersIgnoringModifiers = [theEvent charactersIgnoringModifiers];
        
        if ([charactersIgnoringModifiers length]) {
                unichar          inChar = [charactersIgnoringModifiers characterAtIndex:0];
                
                if (inChar == NSLeftArrowFunctionKey) {
                        [(ESFileTransferProgressView *)[(ESFileTransferProgressRow *)[self itemAtRow:[self selectedRow]] view] setShowsDetails:NO];
                } else if (inChar == NSRightArrowFunctionKey) {
                        [(ESFileTransferProgressView *)[(ESFileTransferProgressRow *)[self itemAtRow:[self selectedRow]] view] setShowsDetails:YES];
                } else {
                        [super keyDown:theEvent];
                }
        } else {
                [super keyDown:theEvent];
        }
}


@end