1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

attempt to fix #1293

This commit is contained in:
Mitchell Livingston 2008-09-26 21:58:00 +00:00
parent d75410656d
commit 89b6c61326

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];