merged [21403]: Fixed an exception thrown when clearing all complete file transfers...
[adiumx.git] / Source / AIApplication.m
blob9c40cab0b1a407a0065104d8a5590279fff2c491
1 //
2 //  AIApplication.m
3 //  Adium
4 //
5 //  Created by Evan Schoenberg on 7/6/06.
6 //
8 #import "AIApplication.h"
9 #import <Adium/AIObject.h>
10 #import <Adium/AIDockControllerProtocol.h>
11 #import <Adium/AIAdiumProtocol.h>
13 @implementation AIApplication
14 /*!
15  * @brief Intercept applicationIconImage so we can return a base application icon
16  *
17  * The base application icon doesn't have any badges, labels, or animation states.
18  */
19 - (NSImage *)applicationIconImage
21         NSImage *applicationIconImage = [[[AIObject sharedAdiumInstance] dockController] baseApplicationIconImage];
23         return (applicationIconImage ? applicationIconImage : [super applicationIconImage]);
26 - (NSObject<AIAdium> *)adium
28         return [AIObject sharedAdiumInstance];
31 @end