X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/b33c30cfe726454a1ddbbbdf5f425021b060682c..ec1969da79832d035791a9d6647242fffe0b176a:/StatusWindowController.m diff --git a/StatusWindowController.m b/StatusWindowController.m index 10d6eee..6c8841c 100755 --- a/StatusWindowController.m +++ b/StatusWindowController.m @@ -228,12 +228,12 @@ static StatusWindowController *sharedController; - (void)showRegistrationQueryWindow { - NSString *message = @"xxjghsdkfj\nHAHA"; + NSString *message = @"Your 7-day unlimited trial period has elapsed.\nYou must register to continue using MenuTunes."; [_window setImage:[NSImage imageNamed:@"Register"]]; [_window buildDialogWindowWithMessage:message defaultButton:@"Register Now" - alternateButton:@"Quit MenuPrefs" + alternateButton:@"Quit MenuTunes" target:[MainController sharedController] defaultAction:@selector(registerNowOK) alternateAction:@selector(registerNowCancel)]; @@ -242,5 +242,20 @@ static StatusWindowController *sharedController; [_window setLocked:YES]; } +- (void)showReconnectQueryWindow +{ + NSString *message = @"The selected shared player is available again.\nWould you like to reconnect to it?."; + + [_window setImage:[NSImage imageNamed:@"Register"]]; + [_window buildDialogWindowWithMessage:message + defaultButton:@"Reconnect" + alternateButton:@"Ignore" + target:[MainController sharedController] + defaultAction:@selector(reconnect) + alternateAction:@selector(cancelReconnect)]; + + [_window appear:self]; + [_window setLocked:YES]; +} @end \ No newline at end of file