Revision: 5344
http://skim-app.svn.sourceforge.net/skim-app/?rev=5344&view=rev
Author: hofman
Date: 2009-05-01 12:30:41 +0000 (Fri, 01 May 2009)
Log Message:
-----------
draw only the image column in drag image
Modified Paths:
--------------
trunk/SKThumbnailTableView.m
Modified: trunk/SKThumbnailTableView.m
===================================================================
--- trunk/SKThumbnailTableView.m 2009-05-01 12:04:49 UTC (rev 5343)
+++ trunk/SKThumbnailTableView.m 2009-05-01 12:30:41 UTC (rev 5344)
@@ -223,4 +223,8 @@
return NSDragOperationEvery;
}
+- (NSImage *)dragImageForRowsWithIndexes:(NSIndexSet *)dragRows
tableColumns:(NSArray *)tableColumns event:(NSEvent *)dragEvent
offset:(NSPointPointer)dragImageOffset{
+ return [super dragImageForRowsWithIndexes:dragRows tableColumns:[[self
tableColumns] subarrayWithRange:NSMakeRange(0, 1)] event:dragEvent
offset:dragImageOffset];
+}
+
@end
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit