mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-15 16:11:25 +00:00
* unsigned int -> NSDragOperation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@36197 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7c84efcd92
commit
78bf74dc1d
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-02-25: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
* Framework/PCFileNameIcon.m
|
||||
* unsigned int -> NSDragOperation
|
||||
|
||||
2013-02-10: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
* Framework/PCProjectInspector.m
|
||||
* Modules/Editors/ProjectCenter/SyntaxDefinition.m
|
||||
|
|
|
@ -126,11 +126,11 @@
|
|||
|
||||
// --- NSDraggingDestination protocol methods
|
||||
// -- Before the image is released
|
||||
- (unsigned int)draggingEntered:(id <NSDraggingInfo>)sender
|
||||
- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender
|
||||
{
|
||||
NSPasteboard *pb = [sender draggingPasteboard];
|
||||
NSArray *paths = [pb propertyListForType:NSFilenamesPboardType];
|
||||
unsigned int draggingOp = NSDragOperationNone;
|
||||
NSDragOperation draggingOp = NSDragOperationNone;
|
||||
|
||||
// NSLog(@"Dragging entered: %@", paths);
|
||||
|
||||
|
@ -206,7 +206,7 @@
|
|||
|
||||
// --- NSDraggingSource protocol methods
|
||||
|
||||
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)isLocal
|
||||
- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal
|
||||
{
|
||||
return NSDragOperationCopy;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue