Revision: 7726
http://skim-app.svn.sourceforge.net/skim-app/?rev=7726&view=rev
Author: hofman
Date: 2012-10-12 13:16:32 +0000 (Fri, 12 Oct 2012)
Log Message:
-----------
fix check for dragging source
Modified Paths:
--------------
trunk/SKBookmarkController.m
Modified: trunk/SKBookmarkController.m
===================================================================
--- trunk/SKBookmarkController.m 2012-10-11 16:48:13 UTC (rev 7725)
+++ trunk/SKBookmarkController.m 2012-10-12 13:16:32 UTC (rev 7726)
@@ -627,7 +627,7 @@
if (anIndex != NSOutlineViewDropOnItemIndex) {
NSPasteboard *pboard = [info draggingPasteboard];
if ([pboard canReadItemWithDataConformingToTypes:[NSArray
arrayWithObjects:SKPasteboardTypeBookmarkRows, nil]] &&
- [info draggingSource] == self)
+ [info draggingSource] == ov)
dragOp = NSDragOperationMove;
else if ([pboard canReadObjectForClasses:[NSArray
arrayWithObject:[NSURL class]] options:[NSDictionary
dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES],
NSPasteboardURLReadingFileURLsOnlyKey, nil]])
dragOp = NSDragOperationEvery;
@@ -639,7 +639,7 @@
NSPasteboard *pboard = [info draggingPasteboard];
if ([pboard canReadItemWithDataConformingToTypes:[NSArray
arrayWithObjects:SKPasteboardTypeBookmarkRows, nil]] &&
- [info draggingSource] == self) {
+ [info draggingSource] == ov) {
NSMutableArray *movedBookmarks = [NSMutableArray array];
NSMutableIndexSet *indexes = [NSMutableIndexSet indexSet];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit