Revision: 30105
          http://sourceforge.net/p/bibdesk/svn/30105
Author:   hofman
Date:     2026-03-04 16:35:22 +0000 (Wed, 04 Mar 2026)
Log Message:
-----------
no need for convenience method

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2026-03-04 
16:19:02 UTC (rev 30104)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2026-03-04 
16:35:22 UTC (rev 30105)
@@ -2945,11 +2945,6 @@
     [_dropHighlightView setDropOperation:anOperation];
 }
 
-- (BOOL)_isLocalDraggingInfo:(id <NSDraggingInfo>)sender
-{
-    return [[sender draggingSource] isEqual:self];
-}
-
 - (BOOL)wantsPeriodicDraggingUpdates { return NO; }
 
 - (NSDragOperation)draggingUpdated:(id <NSDraggingInfo>)sender
@@ -2978,7 +2973,7 @@
         // Should be a no-op
         dragOp = NSDragOperationCopy;
     }
-    else if ([self _isLocalDraggingInfo:sender]) {
+    else if ([[sender draggingSource] isEqual:self]) {
         // invalidate some local drags, otherwise make sure we use a Move 
operation
         if (FVDropOn == dropOp) {
             // drop on the whole view (add operation) or an icon (replace 
operation) makes no sense for a local drag, but the delegate may override
@@ -3070,7 +3065,7 @@
     NSPasteboard *pboard = [sender draggingPasteboard];
     NSDragOperation dragOp = [sender draggingSourceOperationMask] & 
~NSDragOperationMove;
     BOOL isCopy = [self allowsDownloading] && dragOp == NSDragOperationCopy;
-    BOOL isMove = [self _isLocalDraggingInfo:sender] && isCopy == NO;
+    BOOL isMove = [[sender draggingSource] isEqual:self] && isCopy == NO;
     BOOL didPerform = NO;
     NSArray *draggedURLs = isMove ? nil : FVURLsFromPasteboard(pboard);
     NSArray *allURLs = draggedURLs;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to