adium/adium

310e867b52c1
Parents ba73efba0353
Children e59656c07a3d
Fix the emoticon menu image loading for the newly added retina image.
--- a/Frameworks/Adium Framework/Source/AIMessageEntryTextView.m Sun May 12 13:43:38 2013 -0400
+++ b/Frameworks/Adium Framework/Source/AIMessageEntryTextView.m Sun May 12 15:14:29 2013 -0400
@@ -1783,7 +1783,7 @@
- (void)setHasEmoticonsMenu:(BOOL)hasMenu
{
if (hasMenu && emoticonsMenuButton == nil) {
- NSImage *emoticonsMenuIcon = [[NSImage alloc] initWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"emoticons_menu" ofType:@"png"]];
+ NSImage *emoticonsMenuIcon = [NSImage imageNamed:@"emoticons_menu"];
emoticonsMenuButton = [[NSButton alloc] initWithFrame:NSZeroRect];