X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/986a1f3db6df6ca58d90b88664ba48eb29c4b173..68dfd7431d482d1958c5d8371c4fd494b1356d84:/PreferencesController.m diff --git a/PreferencesController.m b/PreferencesController.m index 726f1e8..c962b52 100755 --- a/PreferencesController.m +++ b/PreferencesController.m @@ -236,6 +236,8 @@ static PreferencesController *prefs = nil; [df setBool:SENDER_STATE forKey:@"showTrackRating"]; } else if ( [sender tag] == 1100) { [df setBool:SENDER_STATE forKey:@"showAlbumArtwork"]; + } else if ( [sender tag] == 1105) { + [df setBool:SENDER_STATE forKey:@"showToolTip"]; } else if ( [sender tag] == 1110) { [df setBool:SENDER_STATE forKey:@"runScripts"]; if (SENDER_STATE) { @@ -536,7 +538,7 @@ static PreferencesController *prefs = nil; @"quit", nil] forKey:@"menu"]; - [df setInteger:1200 forKey:@"appVersion"]; + [df setInteger:MT_CURRENT_VERSION forKey:@"appVersion"]; [df setInteger:5 forKey:@"SongsInAdvance"]; // [df setBool:YES forKey:@"showName"]; // Song info will always show song title. [df setBool:YES forKey:@"showArtist"]; @@ -770,6 +772,8 @@ static PreferencesController *prefs = nil; int selectedBGStyle; id anItem; + [df setInteger:MT_CURRENT_VERSION forKey:@"appVersion"]; + ITDebugLog(@"Setting up preferences UI."); // Fill in the number of songs in advance to show field [songsInAdvance setIntValue:[df integerForKey:@"SongsInAdvance"]]; @@ -797,6 +801,8 @@ static PreferencesController *prefs = nil; [ratingCheckbox setState:[df boolForKey:@"showTrackRating"] ? NSOnState : NSOffState]; [albumArtworkCheckbox setState:[df boolForKey:@"showAlbumArtwork"] ? NSOnState : NSOffState]; + [showToolTipCheckbox setState:[df boolForKey:@"showToolTip"] ? NSOnState : NSOffState]; + if ([df boolForKey:@"runScripts"]) { [runScriptsCheckbox setState:NSOnState]; [showScriptsButton setEnabled:YES];