- if ([df objectForKey:@"NextTrack"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"NextTrack"]];
- [hotKeysDictionary setObject:anItem forKey:@"NextTrack"];
- [nextTrackButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"NextTrack"];
- }
-
- if ([df objectForKey:@"PrevTrack"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"PrevTrack"]];
- [hotKeysDictionary setObject:anItem forKey:@"PrevTrack"];
- [previousTrackButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"PrevTrack"];
- }
-
- if ([df objectForKey:@"ShowPlayer"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"ShowPlayer"]];
- [hotKeysDictionary setObject:anItem forKey:@"ShowPlayer"];
- [showPlayerButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"ShowPlayer"];
- }
-
- if ([df objectForKey:@"TrackInfo"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"TrackInfo"]];
- [hotKeysDictionary setObject:anItem forKey:@"TrackInfo"];
- [trackInfoButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"TrackInfo"];
- }
-
- if ([df objectForKey:@"UpcomingSongs"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"UpcomingSongs"]];
- [hotKeysDictionary setObject:anItem forKey:@"UpcomingSongs"];
- [upcomingSongsButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"UpcomingSongs"];
- }
-
- if ([df objectForKey:@"IncrementVolume"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"IncrementVolume"]];
- [hotKeysDictionary setObject:anItem forKey:@"IncrementVolume"];
- [volumeIncrementButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"IncrementVolume"];
- }
-
- if ([df objectForKey:@"DecrementVolume"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"DecrementVolume"]];
- [hotKeysDictionary setObject:anItem forKey:@"DecrementVolume"];
- [volumeDecrementButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"DecrementVolume"];
- }
-
- if ([df objectForKey:@"IncrementRating"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"IncrementRating"]];
- [hotKeysDictionary setObject:anItem forKey:@"IncrementRating"];
- [ratingIncrementButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"IncrementRating"];
- }
-
- if ([df objectForKey:@"DecrementRating"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"DecrementRating"]];
- [hotKeysDictionary setObject:anItem forKey:@"DecrementRating"];
- [ratingDecrementButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"DecrementRating"];
- }
-
- if ([df objectForKey:@"ToggleLoop"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"ToggleLoop"]];
- [hotKeysDictionary setObject:anItem forKey:@"ToggleLoop"];
- [toggleLoopButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"ToggleLoop"];
- }
-
- if ([df objectForKey:@"ToggleShuffle"]) {
- anItem = [ITKeyCombo keyComboWithPlistRepresentation:[df objectForKey:@"ToggleShuffle"]];
- [hotKeysDictionary setObject:anItem forKey:@"ToggleShuffle"];
- [toggleShuffleButton setTitle:[anItem description]];
- } else {
- [hotKeysDictionary setObject:[ITKeyCombo clearKeyCombo] forKey:@"ToggleShuffle"];