Revision: 3139 http://skim-app.svn.sourceforge.net/skim-app/?rev=3139&view=rev Author: hofman Date: 2007-11-03 09:58:46 -0700 (Sat, 03 Nov 2007)
Log Message: ----------- Add table font size default to pref panel. Modified Paths: -------------- trunk/Dutch.lproj/PreferenceWindow.nib/keyedobjects.nib trunk/English.lproj/PreferenceWindow.nib/keyedobjects.nib trunk/French.lproj/PreferenceWindow.nib/keyedobjects.nib trunk/InitialUserDefaults.plist trunk/Italian.lproj/PreferenceWindow.nib/keyedobjects.nib trunk/SKMainWindowController.m trunk/Spanish.lproj/PreferenceWindow.nib/keyedobjects.nib Modified: trunk/Dutch.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/English.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/French.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/InitialUserDefaults.plist =================================================================== --- trunk/InitialUserDefaults.plist 2007-11-03 12:34:09 UTC (rev 3138) +++ trunk/InitialUserDefaults.plist 2007-11-03 16:58:46 UTC (rev 3139) @@ -68,6 +68,8 @@ <integer>0</integer> <key>SKLastAnnotationMode</key> <integer>0</integer> + <key>SKTableFontSize</key> + <real>12.0</real> <key>SKGreekingThreshold</key> <real>3.0</real> <key>SKShouldAntiAlias</key> @@ -274,6 +276,7 @@ <array> <string>SKThumbnailSize</string> <string>SKSnapshotThumbnailSize</string> + <string>SKTableFontSize</string> <string>SKShouldAntiAlias</string> <string>SKGreekingThreshold</string> <string>SKBackgroundColor</string> Modified: trunk/Italian.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-11-03 12:34:09 UTC (rev 3138) +++ trunk/SKMainWindowController.m 2007-11-03 16:58:46 UTC (rev 3139) @@ -548,7 +548,8 @@ [NSArray arrayWithObjects:SKBackgroundColorKey, SKFullScreenBackgroundColorKey, SKSearchHighlightColorKey, SKShouldHighlightSearchResultsKey, SKThumbnailSizeKey, SKSnapshotThumbnailSizeKey, - SKShouldAntiAliasKey, SKGreekingThresholdKey, nil]]; + SKShouldAntiAliasKey, SKGreekingThresholdKey, + SKTableFontSizeKey, nil]]; } - (void)unregisterAsObserver { @@ -556,7 +557,8 @@ [NSArray arrayWithObjects:SKBackgroundColorKey, SKFullScreenBackgroundColorKey, SKSearchHighlightColorKey, SKShouldHighlightSearchResultsKey, SKThumbnailSizeKey, SKSnapshotThumbnailSizeKey, - SKShouldAntiAliasKey, SKGreekingThresholdKey, nil]]; + SKShouldAntiAliasKey, SKGreekingThresholdKey, + SKTableFontSizeKey, nil]]; } - (void)setupWindow:(NSDictionary *)setup{ @@ -3271,6 +3273,14 @@ [pdfView setShouldAntiAlias:[[NSUserDefaults standardUserDefaults] boolForKey:SKShouldAntiAliasKey]]; } else if ([key isEqualToString:SKGreekingThresholdKey]) { [pdfView setGreekingThreshold:[[NSUserDefaults standardUserDefaults] floatForKey:SKGreekingThresholdKey]]; + } else if ([key isEqualToString:SKTableFontSizeKey]) { + NSFont *font = [NSFont systemFontOfSize:[[NSUserDefaults standardUserDefaults] floatForKey:SKTableFontSizeKey]]; + [outlineView setFont:font]; + [noteOutlineView setFont:font]; + [findTableView setFont:font]; + [self updatePageColumnWidthForTableView:outlineView]; + [self updatePageColumnWidthForTableView:noteOutlineView]; + [self updatePageColumnWidthForTableView:findTableView]; } } else { [super observeValueForKeyPath:keyPath ofObject:object change:change context:context]; Modified: trunk/Spanish.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit