adium 3834:3e73bc208398: Removed back-compatibility code from AI...
commits at adium.im
commits at adium.im
Sat Apr 2 20:20:29 UTC 2011
details: http://hg.adium.im/adium/rev/3e73bc208398
revision: 3834:3e73bc208398
branch: (none)
author: Adrian Godoroja <robotive at me.com>
date: Sat Apr 02 23:19:57 2011 +0300
Removed back-compatibility code from AIContactListUserPictureMenuController
diffs (18 lines):
diff -r 742a577f459c -r 3e73bc208398 Source/AIContactListUserPictureMenuController.m
--- a/Source/AIContactListUserPictureMenuController.m Sat Apr 02 12:36:58 2011 +0200
+++ b/Source/AIContactListUserPictureMenuController.m Sat Apr 02 23:19:57 2011 +0300
@@ -112,13 +112,7 @@
name:NSWindowWillCloseNotification
object:[picker window]];
- if ([NSApp isOnSnowLeopardOrBetter]) {
- [menu popUpMenuPositioningItem:[menu itemAtIndex:0] atLocation:NSMakePoint(2.0f, -4.0f) inView:imagePicker];
- } else {
- NSPopUpButtonCell *popUpButtonCell = [[[NSPopUpButtonCell alloc] initTextCell:@"" pullsDown:NO] autorelease];
- [popUpButtonCell setMenu:menu];
- [popUpButtonCell performClickWithFrame:NSMakeRect(12.0f, -12.0f, 0.0f, 0.0f) inView:imagePicker];
- }
+ [menu popUpMenuPositioningItem:[menu itemAtIndex:0] atLocation:NSMakePoint(2.0f, -4.0f) inView:imagePicker];
}
return self;
More information about the commits
mailing list