Adium

Changeset 23953

Show
Ignore:
Timestamp:
06/13/2008 07:03:13 PM (6 months ago)
Author:
evands
Message:

Fixed ESChatUserListController to use the dragItems, which are noted by all list controllers when a drag begins, rather than [self draggedContacts] which is always nil if the drag started from another controller. Fixes #10058

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plugins/Dual Window Interface/ESChatUserListController.m

    r21957 r23953  
    7070        AIChat                  *activeChat = [[adium interfaceController] activeChatInWindow:[info draggingDestinationWindow]]; 
    7171        AIAccount               *activeChatAccount = [activeChat account]; 
    72         NSEnumerator    *enumerator = [[self draggedContacts] objectEnumerator]; 
     72        NSEnumerator    *enumerator = [dragItems objectEnumerator]; 
    7373        AIListObject    *listObject; 
    7474         
     
    103103- (NSDragOperation)outlineView:(NSOutlineView*)outlineView validateDrop:(id <NSDraggingInfo>)info proposedItem:(id)item proposedChildIndex:(int)index 
    104104{ 
    105         NSEnumerator    *enumerator = [[self draggedContacts] objectEnumerator]; 
     105        NSEnumerator    *enumerator = [dragItems objectEnumerator]; 
    106106        AIListObject    *listObject; 
    107107        AIChat                  *activeChat = [[adium interfaceController] activeChatInWindow:[info draggingDestinationWindow]];