Changed open URL panel to use a combobox.

CQTexperiment
vspader 2007-03-04 01:30:37 +00:00
parent d5c777f7e8
commit e452cbe3db
5 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@
IBOutlet NSPanel *mainWindow;
IBOutlet NSPanel *addURLPanel;
IBOutlet NSTextField *urlField;
IBOutlet NSComboBox *urlComboBox;
IBOutlet NSButton *playButton;
IBOutlet NSButton *prevButton;

View File

@ -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];

View File

@ -53,7 +53,7 @@
showTrackColumn = NSMenuItem;
showYearColumn = NSMenuItem;
shuffleButton = NSButton;
urlField = NSTextField;
urlComboBox = NSComboBox;
};
SUPERCLASS = NSObject;
},

View File

@ -33,11 +33,11 @@
<key>IBOpenObjects</key>
<array>
<integer>463</integer>
<integer>29</integer>
<integer>1156</integer>
<integer>1307</integer>
<integer>513</integer>
<integer>21</integer>
<integer>29</integer>
</array>
<key>IBSystem Version</key>
<string>8L2127</string>

Binary file not shown.