add file table to open window

This commit is contained in:
Mitchell Livingston 2008-01-04 15:28:09 +00:00
parent fd009b603e
commit 138c825573
4 changed files with 3889 additions and 3355 deletions

View File

@ -24,6 +24,7 @@
#import <Cocoa/Cocoa.h>
#import "Torrent.h"
#import "FileOutlineController.h"
@class Controller;
@ -34,6 +35,8 @@
IBOutlet NSButton * fStartCheck;
IBOutlet NSPopUpButton * fGroupPopUp;
IBOutlet FileOutlineController * fFileController;
Controller * fController;
Torrent * fTorrent;

View File

@ -58,6 +58,8 @@
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(updateGroupMenu:)
name: @"UpdateGroups" object: nil];
[fFileController setTorrent: fTorrent];
NSString * name = [fTorrent name];
[[self window] setTitle: name];
[fNameField setStringValue: name];

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff