change some initializers so that they are aware of their own nib's name

This commit is contained in:
Mitchell Livingston
2007-10-07 12:24:26 +00:00
parent 02e45340f4
commit b3c35b036c
5 changed files with 79 additions and 62 deletions

View File

@@ -166,10 +166,9 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
fDefaults = [NSUserDefaults standardUserDefaults];
#warning move nib names to individual classes
fMessageController = [[MessageWindowController alloc] initWithWindowNibName: @"MessageWindow"];
fInfoController = [[InfoWindowController alloc] initWithWindowNibName: @"InfoWindow"];
fPrefsController = [[PrefsController alloc] initWithWindowNibName: @"PrefsWindow" handle: fLib];
fMessageController = [[MessageWindowController alloc] init];
fInfoController = [[InfoWindowController alloc] init];
fPrefsController = [[PrefsController alloc] initWithHandle: fLib];
fBadger = [[Badger alloc] initWithLib: fLib];