I change some stuff over time, but I have no clue what it is anymore.
authorKent Sutherland <ksuther@ithinksw.com>
Fri, 4 Jul 2003 04:17:42 +0000 (04:17 +0000)
committerKent Sutherland <ksuther@ithinksw.com>
Fri, 4 Jul 2003 04:17:42 +0000 (04:17 +0000)
MenuController.m
PreferencesController.m
TODO.rtf

index 96767ab..2ac4826 100755 (executable)
                 }
                 
                 if ([defaults boolForKey:@"showAlbum"]) {
-                    [menu addItemWithTitle:[NSString stringWithFormat:@"        %@", [currentRemote currentSongAlbum]]
-                            action:nil
-                            keyEquivalent:@""];
+                    NSString *curAlbum = [currentRemote currentSongAlbum];
+                    if ([curAlbum length]) {
+                        [menu addItemWithTitle:[NSString stringWithFormat:@"    %@", curAlbum]
+                                action:nil
+                                keyEquivalent:@""];
+                    }
                 }
                 
                 if ([defaults boolForKey:@"showArtist"]) {
-                    [menu addItemWithTitle:[NSString stringWithFormat:@"        %@", [currentRemote currentSongArtist]]
-                            action:nil
-                            keyEquivalent:@""];
+                    NSString *curArtist = [currentRemote currentSongArtist];
+                    if ([curArtist length]) {
+                        [menu addItemWithTitle:[NSString stringWithFormat:@"    %@", curArtist]
+                                action:nil
+                                keyEquivalent:@""];
+                    }
                 }
                 
                 if ([defaults boolForKey:@"showTrackNumber"]) {
index 4281817..53e02bd 100755 (executable)
@@ -630,7 +630,7 @@ static PreferencesController *prefs = nil;
     if ( flag ) {
         NSMutableDictionary *loginwindow;
         NSMutableArray *loginarray;
-        ComponentInstance temp = OpenDefaultComponent(kOSAComponentType, kAppleScriptSubtype);;
+        ComponentInstance temp = OpenDefaultComponent(kOSAComponentType, kAppleScriptSubtype);
         int i;
         BOOL skip = NO;
 
index 1c1fd4f..b7cf9b6 100755 (executable)
--- a/TODO.rtf
+++ b/TODO.rtf
@@ -19,6 +19,7 @@ Space key equivalent needs to show up\
 \
 PreferencesController:\
 Do we want that preferences checkbox "Launch iTunes When MenuTunes Launches"? It isn't very pluginesque and I think our menu saying launch player is good enough.\
+If you change the number of upcoming songs, it doesn't change in the menu until the next menu rebuild.\
 \
 iTunesRemote:\
 -showPrimaryInterface doesn't show the browser window it and unminimize it\