+ NSString *string = nil;
+
+ if ( mode == StatusWindowRepeatNone ) {
+ string = @"Repeat Off";
+ } else if ( mode == StatusWindowRepeatGroup ) {
+ string = @"Repeat Playlist";
+ } else if ( mode == StatusWindowRepeatTrack ) {
+ string = @"Repeat One Track";
+ }
+
+ [_window setImage:[NSImage imageNamed:@"Repeat"]];
+ [_window setSizing:(ITTransientStatusWindowSizing)[df integerForKey:@"statusWindowSizing"]];
+ [_window buildTextWindowWithString:string];
+ [_window appear:self];
+}
+
+- (void)showSetupQueryWindow
+{
+ NSString *message = @"Would you like MenuTunes to launch\nautomatically at startup?";
+
+ [_window setImage:[NSImage imageNamed:@"Setup"]];
+ [_window setSizing:(ITTransientStatusWindowSizing)[df integerForKey:@"statusWindowSizing"]];
+ [_window buildDialogWindowWithMessage:message
+ defaultButton:@"Launch at Startup"
+ alternateButton:@"Launch Manually"
+ target:[PreferencesController sharedPrefs]
+ defaultAction:@selector(autoLaunchOK)
+ alternateAction:@selector(autoLaunchCancel)];
+
+ [_window appear:self];
+ [_window setLocked:YES];
+}
+
+
+- (void)showRegistrationQueryWindow
+{
+ NSString *message = @"Your 7-day unlimited trial period has elapsed.\nYou must register to continue using MenuTunes.";
+
+ [_window setImage:[NSImage imageNamed:@"Register"]];
+ [_window setSizing:(ITTransientStatusWindowSizing)[df integerForKey:@"statusWindowSizing"]];
+ [_window buildDialogWindowWithMessage:message
+ defaultButton:@"Register Now"
+ alternateButton:@"Quit MenuTunes"
+ target:[MainController sharedController]
+ defaultAction:@selector(registerNowOK)
+ alternateAction:@selector(registerNowCancel)];