Permalink
Browse files

Restored the old default font size for release notes, now that we're …

…doing webview preferences a different way.
  • Loading branch information...
1 parent 28ad466 commit 0fa24ce313262f1057602c7ea498b07b0ed1e42c @andymatuschak andymatuschak committed Sep 10, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 SUUpdateAlert.m
View
1 SUUpdateAlert.m
@@ -64,6 +64,7 @@ - (void)displayReleaseNotes
// Set the default font, but avoid polluting the standard preferences.
WebPreferences *preferences = [NSKeyedUnarchiver unarchiveObjectWithData:[NSKeyedArchiver archivedDataWithRootObject:[WebPreferences standardPreferences]]];
[preferences setStandardFontFamily:[[NSFont systemFontOfSize:8] familyName]];
+ [preferences setDefaultFontSize:(int)[NSFont systemFontSizeForControlSize:NSSmallControlSize]];
[releaseNotesView setPreferences:preferences];
[releaseNotesView setFrameLoadDelegate:self];
[releaseNotesView setPolicyDelegate:self];

0 comments on commit 0fa24ce

Please sign in to comment.