attempt to fix #1293

This commit is contained in:
Mitchell Livingston 2008-09-26 21:58:00 +00:00
parent d75410656d
commit 89b6c61326
1 changed files with 2 additions and 1 deletions

View File

@ -246,7 +246,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
[PrefsController setHandle: fLib];
fPrefsController = [[PrefsController alloc] init];
fBadger = [[Badger alloc] initWithLib: fLib];
[QuickLookController quickLookControllerInitializeWithController: self infoController: fInfoController];
fSoundPlaying = NO;
@ -274,6 +273,8 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
- (void) awakeFromNib
{
fBadger = [[Badger alloc] initWithLib: fLib];
NSToolbar * toolbar = [[NSToolbar alloc] initWithIdentifier: @"TRMainToolbar"];
[toolbar setDelegate: self];
[toolbar setAllowsUserCustomization: YES];