* Fixed the objectSpecifier of `AIStatusItem`s to be based on the unique ID rather...
[adiumx.git] / Source / AIFileTransferProgressOutlineView.m
blob463795e322e81d632ec3113f29ea0c526b29865e
1 //
2 //  AIFileTransferProgressOutlineView.m
3 //  Adium
4 //
5 //  Created by Evan Schoenberg on 3/13/07.
6 //
8 #import "AIFileTransferProgressOutlineView.h"
9 #import "ESFileTransferProgressRow.h"
10 #import "ESFileTransferProgressView.h"
12 @implementation AIFileTransferProgressOutlineView
13 - (void)keyDown:(NSEvent *)theEvent
15         NSString *charactersIgnoringModifiers = [theEvent charactersIgnoringModifiers];
16         
17         if ([charactersIgnoringModifiers length]) {
18                 unichar          inChar = [charactersIgnoringModifiers characterAtIndex:0];
19                 
20                 if (inChar == NSLeftArrowFunctionKey) {
21                         [(ESFileTransferProgressView *)[(ESFileTransferProgressRow *)[self itemAtRow:[self selectedRow]] view] setShowsDetails:NO];
22                 } else if (inChar == NSRightArrowFunctionKey) {
23                         [(ESFileTransferProgressView *)[(ESFileTransferProgressRow *)[self itemAtRow:[self selectedRow]] view] setShowsDetails:YES];
24                 } else {
25                         [super keyDown:theEvent];
26                 }
27         } else {
28                 [super keyDown:theEvent];
29         }
33 @end