The R Project SVN R-packages

Rev

Rev 6063 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6063 Rev 6077
Line 58... Line 58...
58
	[panel setDelegate:self];
58
	[panel setDelegate:self];
59
	[panel setOpaque:YES];
59
	[panel setOpaque:YES];
60
	[panel setContentView:[[[NSView alloc] initWithFrame:NSMakeRect(0, 0, 200, 100)] autorelease]];
60
	[panel setContentView:[[[NSView alloc] initWithFrame:NSMakeRect(0, 0, 200, 100)] autorelease]];
61
	[self setPrefPanes:[NSMutableDictionary dictionary]];
61
	[self setPrefPanes:[NSMutableDictionary dictionary]];
62
	[self setAutosaveName:name];
62
	[self setAutosaveName:name];
63
	[self setTitle:@"Preferences"];
63
	[self setTitle:NLS(@"Preferences")];
64
	[self createIconViewPane];
64
	[self createIconViewPane];
65
	[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationWillTerminate:) name:NSApplicationWillTerminateNotification object:NSApp];
65
	[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationWillTerminate:) name:NSApplicationWillTerminateNotification object:NSApp];
66
	_am_oldContentViewFrame = [[panel contentView] frame];
66
	_am_oldContentViewFrame = [[panel contentView] frame];
67
	return [super initWithWindow:panel];
67
	return [super initWithWindow:panel];
68
}
68
}