Moved more UI fields to bindings.
This commit is contained in:
1 parent
609af54296
commit
52e2131693
6 files changed
+18
-22
No files matched your search
@@ -17,10 +17,6 @@ static void *SBItemViewContex = &SBItemViewContex;
|
||||
|
||||
@property SBQueueItem *item;
|
||||
|
||||
@property (assign) IBOutlet NSTextField *nameLabel;
|
||||
@property (assign) IBOutlet NSTextField *sourceLabel;
|
||||
@property (assign) IBOutlet NSTextField *destinationLabel;
|
||||
|
||||
@property (assign) IBOutlet NSTextField *actionsLabel;
|
||||
|
||||
@property (assign) IBOutlet NSButton *editButton;
|
||||
@@ -33,10 +29,6 @@ static void *SBItemViewContex = &SBItemViewContex;
|
||||
@synthesize item = _item;
|
||||
@synthesize delegate = _delegate;
|
||||
|
||||
@synthesize nameLabel = _nameLabel;
|
||||
@synthesize sourceLabel = _sourceLabel;
|
||||
@synthesize destinationLabel = _destinationLabel;
|
||||
|
||||
@synthesize actionsLabel = _actionsLabel;
|
||||
|
||||
@synthesize editButton = _editButton;
|
||||
@@ -58,10 +50,6 @@ static void *SBItemViewContex = &SBItemViewContex;
|
||||
- (void)loadView {
|
||||
[super loadView];
|
||||
|
||||
[self.nameLabel setStringValue:[self.item.URL lastPathComponent]];
|
||||
[self.sourceLabel setStringValue:[self.item.URL path]];
|
||||
[self.destinationLabel setStringValue:[self.item.destURL path]];
|
||||
|
||||
NSMutableString *actions = [[[NSMutableString alloc] init] autorelease];
|
||||
for (id<SBQueueActionProtocol> action in self.item.actions) {
|
||||
[actions appendString:[NSString stringWithFormat:@"%@\n", [action description]]];
|
||||
|
||||
Reference in new issue
Block a user