Revision: 3655
http://skim-app.svn.sourceforge.net/skim-app/?rev=3655&view=rev
Author: hofman
Date: 2008-04-06 09:48:41 -0700 (Sun, 06 Apr 2008)
Log Message:
-----------
Avoid resetting thumbnails too many times after loading the window.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2008-04-06 16:38:59 UTC (rev 3654)
+++ trunk/SKMainWindowController.m 2008-04-06 16:48:41 UTC (rev 3655)
@@ -3288,7 +3288,8 @@
- (void)handleDisplayBoxChangedNotification:(NSNotification *)notification {
[displayBoxButton selectSegmentWithTag:[pdfView displayBox]];
- [self resetThumbnails];
+ if (notification) // no need to do this when loading the document
+ [self resetThumbnails];
}
- (void)handleDisplayModeChangedNotification:(NSNotification *)notification {
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
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
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