X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/3a1a21d1ea3e060f88ca1d24ea881f3ccb97640c..b33c30cfe726454a1ddbbbdf5f425021b060682c:/StatusWindowController.m?ds=sidebyside diff --git a/StatusWindowController.m b/StatusWindowController.m index e8b1eef..10d6eee 100755 --- a/StatusWindowController.m +++ b/StatusWindowController.m @@ -1,6 +1,7 @@ #import "StatusWindowController.h" #import "StatusWindow.h" #import "PreferencesController.h" +#import "MainController.h" #import #import @@ -225,4 +226,21 @@ static StatusWindowController *sharedController; } +- (void)showRegistrationQueryWindow +{ + NSString *message = @"xxjghsdkfj\nHAHA"; + + [_window setImage:[NSImage imageNamed:@"Register"]]; + [_window buildDialogWindowWithMessage:message + defaultButton:@"Register Now" + alternateButton:@"Quit MenuPrefs" + target:[MainController sharedController] + defaultAction:@selector(registerNowOK) + alternateAction:@selector(registerNowCancel)]; + + [_window appear:self]; + [_window setLocked:YES]; +} + + @end \ No newline at end of file