mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
change some initializers so that they are aware of their own nib's name
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user