Revision: 7064
http://skim-app.svn.sourceforge.net/skim-app/?rev=7064&view=rev
Author: hofman
Date: 2011-01-10 13:08:03 +0000 (Mon, 10 Jan 2011)
Log Message:
-----------
cancel only delayed thumbnail requests when resetting thumbnails
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2011-01-10 10:42:31 UTC (rev 7063)
+++ trunk/SKMainWindowController.m 2011-01-10 13:08:03 UTC (rev 7064)
@@ -2468,7 +2468,8 @@
- (void)resetThumbnails {
NSUInteger i, count = [pageLabels count];
// cancel all delayed perform requests for makeImageForThumbnail:
- [[self class] cancelPreviousPerformRequestsWithTarget:self];
+ for (SKThumbnail *tn in thumbnails)
+ [[self class] cancelPreviousPerformRequestsWithTarget:self
selector:@selector(makeImageForThumbnail:) object:tn];
[self willChangeValueForKey:THUMBNAILS_KEY];
[thumbnails removeAllObjects];
if (count) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit