X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/7f6104672f5d8a1ca5eb046ef7f5bac51a9acd80..b33c30cfe726454a1ddbbbdf5f425021b060682c:/StatusWindow.m diff --git a/StatusWindow.m b/StatusWindow.m index aa78cf1..ca229ee 100755 --- a/StatusWindow.m +++ b/StatusWindow.m @@ -292,6 +292,10 @@ // Make the buttons, set the titles, and size them to fit their titles okButton = [[ITButton alloc] initWithFrame:NSMakeRect(0, 0, 300, 24)]; cancelButton = [[ITButton alloc] initWithFrame:NSMakeRect(0, 0, 300, 24)]; + [okButton setTarget:target]; + [cancelButton setTarget:target]; + [okButton setAction:okAction]; + [cancelButton setAction:alternateAction]; [okButton setBezelStyle:ITGrayRoundedBezelStyle]; [cancelButton setBezelStyle:ITGrayRoundedBezelStyle]; [okButton setAlignment:NSRightTextAlignment]; @@ -359,7 +363,6 @@ 24.0)]; [[self contentView] addSubview:okButton]; [[self contentView] addSubview:cancelButton]; - NSLog(@"%@", [[self contentView] description]); [self setIgnoresMouseEvents:NO];