Don't call setRestorationClass: on 10.6.

This commit is contained in:
Mitchell Livingston
2012-06-18 01:33:27 +00:00
parent f26cee5de6
commit 739ae4a99a
4 changed files with 11 additions and 4 deletions

View File

@@ -58,7 +58,8 @@
[window setFrameAutosaveName: @"MessageWindowFrame"];
[window setFrameUsingName: @"MessageWindowFrame"];
[window setRestorationClass: [self class]];
if ([NSApp isOnLionOrBetter])
[window setRestorationClass: [self class]];
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(resizeColumn)
name: @"NSTableViewColumnDidResizeNotification" object: fMessageTable];