Revision: 6441
http://skim-app.svn.sourceforge.net/skim-app/?rev=6441&view=rev
Author: hofman
Date: 2010-04-08 16:59:52 +0000 (Thu, 08 Apr 2010)
Log Message:
-----------
create pdfview before setting up the toolbar
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-04-08 15:21:49 UTC (rev 6440)
+++ trunk/SKMainWindowController.m 2010-04-08 16:59:52 UTC (rev 6441)
@@ -364,6 +364,10 @@
[self displayThumbnailViewAnimating:NO];
[self displayNoteViewAnimating:NO];
+ // we need to create the PDFView before setting the toolbar
+ pdfView = [[SKPDFView alloc] initWithFrame:[pdfContentView bounds]];
+ [pdfView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
+
// Set up the tool bar
[toolbarController setupToolbar];
@@ -385,9 +389,6 @@
}
// Set up the PDF
- pdfView = [[SKPDFView alloc] initWithFrame:[pdfContentView bounds]];
- [pdfView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
-
[pdfView setShouldAntiAlias:[sud boolForKey:SKShouldAntiAliasKey]];
[pdfView setGreekingThreshold:[sud floatForKey:SKGreekingThresholdKey]];
[pdfView setBackgroundColor:[sud colorForKey:SKBackgroundColorKey]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit