adium 2300:5a7fba5ea6fb: Fix dragging the emoticon packs to reor...

commits at adium.im commits at adium.im
Sun May 24 06:10:53 UTC 2009


details:	http://hg.adium.im/adium/rev/5a7fba5ea6fb
revision:	2300:5a7fba5ea6fb
author:		Zachary West <zacw at adium.im>
date:		Sun May 24 02:10:44 2009 -0400

Fix dragging the emoticon packs to reorder them on Leopard. Yes, Leopard. That's right. Leopard. Fixes #12099.

I can't believe I wrote that a year and a half after Leopard came out.

diffstat:

 Frameworks/AIUtilities Framework/Source/AIGenericViewCell.m |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 1c86b7715b7e -r 5a7fba5ea6fb Frameworks/AIUtilities Framework/Source/AIGenericViewCell.m
--- a/Frameworks/AIUtilities Framework/Source/AIGenericViewCell.m	Sun May 24 01:53:38 2009 -0400
+++ b/Frameworks/AIUtilities Framework/Source/AIGenericViewCell.m	Sun May 24 02:10:44 2009 -0400
@@ -100,6 +100,11 @@
 			 fraction:1.0];	
 }
 
+- (NSUInteger)hitTestForEvent:(NSEvent *)event inRect:(NSRect)cellFrame ofView:(NSView *)controlView
+{	
+	return NSCellHitContentArea;
+}
+
 - (BOOL)drawGridBehindCell
 {
 	return YES;




More information about the commits mailing list