diff --git a/Application/AppController.h b/Application/AppController.h index ba135705c..574377e76 100644 --- a/Application/AppController.h +++ b/Application/AppController.h @@ -22,7 +22,7 @@ IBOutlet NSPanel *mainWindow; IBOutlet NSPanel *addURLPanel; - IBOutlet NSTextField *urlField; + IBOutlet NSComboBox *urlComboBox; IBOutlet NSButton *playButton; IBOutlet NSButton *prevButton; diff --git a/Application/AppController.m b/Application/AppController.m index 3add400e0..3a98603a9 100644 --- a/Application/AppController.m +++ b/Application/AppController.m @@ -151,13 +151,13 @@ increase/decrease as long as the user holds the left/right, plus/minus button */ - (IBAction)addURLSheetOK:(id)sender { - NSURL *url = [NSURL URLWithString:[urlField stringValue]]; + NSURL *url = [NSURL URLWithString:[urlComboBox stringValue]]; PlaylistEntry *pe = [[PlaylistEntry alloc] init]; [pe setURL:url]; [pe setIndex:[[playlistController arrangedObjects] count]]; - [pe setTitle:[urlField stringValue]]; + [pe setTitle:[urlComboBox stringValue]]; [playlistController addObject:pe]; diff --git a/English.lproj/MainMenu.nib/classes.nib b/English.lproj/MainMenu.nib/classes.nib index 2da70b08c..8c8c8f6f5 100644 --- a/English.lproj/MainMenu.nib/classes.nib +++ b/English.lproj/MainMenu.nib/classes.nib @@ -53,7 +53,7 @@ showTrackColumn = NSMenuItem; showYearColumn = NSMenuItem; shuffleButton = NSButton; - urlField = NSTextField; + urlComboBox = NSComboBox; }; SUPERCLASS = NSObject; }, diff --git a/English.lproj/MainMenu.nib/info.nib b/English.lproj/MainMenu.nib/info.nib index 5f7d182dd..935210722 100644 --- a/English.lproj/MainMenu.nib/info.nib +++ b/English.lproj/MainMenu.nib/info.nib @@ -33,11 +33,11 @@ IBOpenObjects 463 + 29 1156 1307 513 21 - 29 IBSystem Version 8L2127 diff --git a/English.lproj/MainMenu.nib/keyedobjects.nib b/English.lproj/MainMenu.nib/keyedobjects.nib index 3f1ae5788..d5ce8cebf 100644 Binary files a/English.lproj/MainMenu.nib/keyedobjects.nib and b/English.lproj/MainMenu.nib/keyedobjects.nib differ