Reconnected some buttons and fixed up the info drawer.
parent
9479f7ef91
commit
2f0a4e6669
|
@ -55,8 +55,6 @@
|
||||||
- (IBAction)savePlaylistAs:(id)sender;
|
- (IBAction)savePlaylistAs:(id)sender;
|
||||||
- (IBAction)loadPlaylist:(id)sender;
|
- (IBAction)loadPlaylist:(id)sender;
|
||||||
|
|
||||||
- (IBAction)addFiles:(id)sender;
|
|
||||||
|
|
||||||
- (void)openPanelDidEnd:(NSOpenPanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo;
|
- (void)openPanelDidEnd:(NSOpenPanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo;
|
||||||
|
|
||||||
- (IBAction)donate:(id)sender;
|
- (IBAction)donate:(id)sender;
|
||||||
|
|
|
@ -53,21 +53,6 @@
|
||||||
[playlistController remove:self];
|
[playlistController remove:self];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction)addFiles:(id)sender
|
|
||||||
{
|
|
||||||
NSMutableArray *paths = [[NSMutableArray alloc] init];
|
|
||||||
NSArray *nodes = [fileTreeController selectedObjects];
|
|
||||||
NSEnumerator *e = [nodes objectEnumerator];
|
|
||||||
|
|
||||||
id n;
|
|
||||||
while (n = [e nextObject]) {
|
|
||||||
[paths addObject:[n path]];
|
|
||||||
}
|
|
||||||
|
|
||||||
[playlistController addPaths:paths sort:YES];
|
|
||||||
[paths release];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (PlaylistEntry *)currentEntry
|
- (PlaylistEntry *)currentEntry
|
||||||
{
|
{
|
||||||
return [playlistController currentEntry];
|
return [playlistController currentEntry];
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
<key>1156</key>
|
<key>1156</key>
|
||||||
<string>391 336 241 366 0 0 1024 746 </string>
|
<string>391 336 241 366 0 0 1024 746 </string>
|
||||||
<key>29</key>
|
<key>29</key>
|
||||||
<string>85 683 383 44 0 0 1024 746 </string>
|
<string>79 702 383 44 0 0 1024 746 </string>
|
||||||
<key>463</key>
|
<key>463</key>
|
||||||
<string>358 380 308 279 0 0 1024 746 </string>
|
<string>341 447 341 145 0 0 1024 746 </string>
|
||||||
<key>513</key>
|
<key>513</key>
|
||||||
<string>639 190 125 137 0 0 1024 746 </string>
|
<string>639 190 125 137 0 0 1024 746 </string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -32,9 +32,10 @@
|
||||||
<integer>4</integer>
|
<integer>4</integer>
|
||||||
<key>IBOpenObjects</key>
|
<key>IBOpenObjects</key>
|
||||||
<array>
|
<array>
|
||||||
|
<integer>463</integer>
|
||||||
|
<integer>513</integer>
|
||||||
<integer>29</integer>
|
<integer>29</integer>
|
||||||
<integer>21</integer>
|
<integer>21</integer>
|
||||||
<integer>513</integer>
|
|
||||||
<integer>1156</integer>
|
<integer>1156</integer>
|
||||||
</array>
|
</array>
|
||||||
<key>IBSystem Version</key>
|
<key>IBSystem Version</key>
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue