git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the radio song/time bug and the menu not going away when player
[MenuTunes.git]
/
PreferencesController.m
diff --git
a/PreferencesController.m
b/PreferencesController.m
index
c230e13
..
af1838b
100755
(executable)
--- a/
PreferencesController.m
+++ b/
PreferencesController.m
@@
-778,7
+778,11
@@
static PreferencesController *prefs = nil;
{
if (aTableView == menuTableView) {
if ([[aTableColumn identifier] isEqualToString:@"name"]) {
{
if (aTableView == menuTableView) {
if ([[aTableColumn identifier] isEqualToString:@"name"]) {
- return [myItems objectAtIndex:rowIndex];
+ NSString *object = [myItems objectAtIndex:rowIndex];
+ if ([object isEqualToString:@"Show Player"]) {
+ return [NSString stringWithFormat:@"Show %@", [[controller currentRemote] playerSimpleName]];
+ }
+ return object;
} else {
if ([submenuItems containsObject:[myItems objectAtIndex:rowIndex]])
{
} else {
if ([submenuItems containsObject:[myItems objectAtIndex:rowIndex]])
{