adium 2155:cd936175d302: Avoid forwarding through a proxy object...

commits at adium.im commits at adium.im
Mon May 11 15:47:02 UTC 2009


details:	http://hg.adium.im/adium/rev/cd936175d302
revision:	2155:cd936175d302
author:		Zachary West <zacw at adium.im>
date:		Mon May 11 11:46:45 2009 -0400

Avoid forwarding through a proxy object, and remove a (probably unnecessary) call, since the reload will occur based on drag status.

diffstat:

 Source/AIListController.m |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 018ca7ad534b -r cd936175d302 Source/AIListController.m
--- a/Source/AIListController.m	Mon May 11 11:20:53 2009 -0400
+++ b/Source/AIListController.m	Mon May 11 11:46:45 2009 -0400
@@ -730,8 +730,8 @@
 				}
 				
 				[[NSNotificationCenter defaultCenter] postNotificationName:Contact_OrderChanged
-														object:item
-													  userInfo:nil];
+																	object:(dragItems.count > 1 ? nil : item.listObject)
+																  userInfo:nil];
 			} else {
 				success = NO;
 			}
@@ -854,9 +854,6 @@
 	}
 	
 	[super outlineView:outlineView acceptDrop:info item:item childIndex:index];
-
-	//XXX Is this actually needed?
-	[self reloadListObject:nil];
 	
     return success;
 }




More information about the commits mailing list