Revision: 3237
http://skim-app.svn.sourceforge.net/skim-app/?rev=3237&view=rev
Author: hofman
Date: 2007-11-23 03:05:34 -0800 (Fri, 23 Nov 2007)
Log Message:
-----------
Initially insert thumbnails rather than TOC, otherwise the thumbnails may never
show up due to some mysterious AppKit bug.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2007-11-22 21:10:29 UTC (rev 3236)
+++ trunk/SKMainWindowController.m 2007-11-23 11:05:34 UTC (rev 3237)
@@ -239,7 +239,7 @@
// @@ remove or set to nil for Leopard?
pdfOutlineItems = [[NSMutableArray alloc] init];
savedNormalSetup = [[NSMutableDictionary alloc] init];
- leftSidePaneState = SKOutlineSidePaneState;
+ leftSidePaneState = SKThumbnailSidePaneState;
rightSidePaneState = SKNoteSidePaneState;
findPaneState = SKSingularFindPaneState;
temporaryAnnotations = CFSetCreateMutable(kCFAllocatorDefault, 0,
&kCFTypeSetCallBacks);
@@ -353,7 +353,7 @@
}
[outlineView setAutoresizesOutlineColumn: NO];
- [self displayOutlineView];
+ [self displayThumbnailView];
[self displayNoteView];
// Set up the tool bar
@@ -444,10 +444,10 @@
// Show/hide left side pane if necessary
if ([sud boolForKey:SKOpenContentsPaneOnlyForTOCKey] && [self
leftSidePaneIsOpen] == (pdfOutline == nil))
[self toggleLeftSidePane:self];
- if (pdfOutline == nil) {
- [self setLeftSidePaneState:SKThumbnailSidePaneState];
+ if (pdfOutline)
+ [self setLeftSidePaneState:SKOutlineSidePaneState];
+ else
[leftSideButton setEnabled:NO forSegment:SKOutlineSidePaneState];
- }
// Go to page?
if ([sud boolForKey:SKRememberLastPageViewedKey]) {
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit