From 5a2cd3ccdd9401ed7b93b2dd25d22f6e4603189d Mon Sep 17 00:00:00 2001 From: pyr Date: Sat, 6 Apr 2002 00:15:05 +0000 Subject: [PATCH] Source/NSOutlineView.m git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13365 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSOutlineView.m | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index eec448a7f..e838c6911 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-04-06 Pierre-Yves Rivaille + + * Source/NSOutlineView.m ([NSOutlineView -performDragOperation:]): + Fixed issue on drag'n'drop. + Fri Apr 5 00:13:41 2002 Nicola Pero * TextConverters/RTF/GNUmakefile.preamble (ADDITIONAL_LIB_DIRS): diff --git a/Source/NSOutlineView.m b/Source/NSOutlineView.m index 8b1ce9a95..faca479e0 100644 --- a/Source/NSOutlineView.m +++ b/Source/NSOutlineView.m @@ -1441,7 +1441,7 @@ static NSImage *unexpandable = nil; NSLog(@"performDragOperation"); if ([_dataSource respondsToSelector: - @selector(outlineView:validateDrop:proposedItem:proposedChildIndex:)]) + @selector(outlineView:acceptDrop:proposedItem:proposedChildIndex:)]) { id item; int childIndex; @@ -1470,9 +1470,9 @@ static NSImage *unexpandable = nil; return [_dataSource outlineView: self - validateDrop: sender - proposedItem: item - proposedChildIndex: childIndex]; + acceptDrop: sender + proposedItem: item + proposedChildIndex: childIndex]; } else return NO;