Revision: 3706
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3706&view=rev
Author:   hofman
Date:     2008-04-11 04:17:23 -0700 (Fri, 11 Apr 2008)

Log Message:
-----------
Check for equality of NSDragoperationDelete when dragging to trash.

Modified Paths:
--------------
    trunk/SKColorSwatch.m

Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m       2008-04-11 11:08:53 UTC (rev 3705)
+++ trunk/SKColorSwatch.m       2008-04-11 11:17:23 UTC (rev 3706)
@@ -419,7 +419,7 @@
 }
 
 - (void)draggedImage:(NSImage *)image endedAt:(NSPoint)screenPoint 
operation:(NSDragOperation)operation {
-    if ((operation & NSDragOperationDelete) != 0) {
+    if (operation == NSDragOperationDelete) {
         if (draggedIndex != -1 && [self isEnabled]) {
             [self willChangeValueForKey:SKColorSwatchColorsKey];
             [colors removeObjectAtIndex:draggedIndex];


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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to