adium 5501:310e867b52c1: Fix the emoticon menu image loading for...
commits at adium.im
commits at adium.im
Sun May 12 19:16:51 UTC 2013
details: http://hg.adium.im/adium/rev/310e867b52c1
revision: 5501:310e867b52c1
branch: adium-1.6
author: Frank Dowsett <wixardy at adium.im>
date: Sun May 12 15:14:29 2013 -0400
Fix the emoticon menu image loading for the newly added retina image.
diffs (12 lines):
diff -r ba73efba0353 -r 310e867b52c1 Frameworks/Adium Framework/Source/AIMessageEntryTextView.m
--- 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];
More information about the commits
mailing list