diff --git a/Base.lproj/Queue.xib b/Base.lproj/Queue.xib
index 7ed7399..4f81958 100755
--- a/Base.lproj/Queue.xib
+++ b/Base.lproj/Queue.xib
@@ -36,40 +36,13 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -83,11 +56,11 @@
-
+
-
+
@@ -95,35 +68,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
@@ -146,7 +102,7 @@
-
+
@@ -289,9 +245,7 @@
-
-
diff --git a/Classes/SBQueueController.m b/Classes/SBQueueController.m
index 3fc45c5..7d372be 100755
--- a/Classes/SBQueueController.m
+++ b/Classes/SBQueueController.m
@@ -466,13 +466,13 @@ static void *SBQueueContex = &SBQueueContex;
* Updates the count on the app dock icon.
*/
- (void)updateDockTile {
- NSUInteger count = [self.queue readyCount] + ((self.queue.status == SBQueueStatusWorking) ? 1 : 0);
+ NSUInteger count = self.queue.readyCount + ((self.queue.status == SBQueueStatusWorking) ? 1 : 0);
if (count) {
NSApp.dockTile.badgeLabel = [NSString stringWithFormat:@"%lu", (unsigned long)count];
}
else {
- [NSApp.dockTile setBadgeLabel:nil];
+ NSApp.dockTile.badgeLabel = nil;
}
}
@@ -532,7 +532,7 @@ static void *SBQueueContex = &SBQueueContex;
}
else {
[self createItemPopover:item];
- [self.itemPopover showRelativeToRect:[sender frame] ofView:sender preferredEdge:NSMaxXEdge];
+ [self.itemPopover showRelativeToRect:[sender bounds] ofView:sender preferredEdge:NSMaxXEdge];
}
}
@@ -577,12 +577,8 @@ static void *SBQueueContex = &SBQueueContex;
if ([tableColumn.identifier isEqualToString:@"nameColumn"]) {
cell = [tableView makeViewWithIdentifier:@"nameColumn" owner:self];
cell.textField.stringValue = item.fileURL.lastPathComponent;
- }
- else if ([tableColumn.identifier isEqualToString:@"statusColumn"]) {
- cell = [tableView makeViewWithIdentifier:@"statusColumn" owner:self];
- SBQueueItemStatus status = item.status;
- switch (status) {
+ switch (item.status) {
case SBQueueItemStatusCompleted:
cell.imageView.image = [NSImage imageNamed:@"EncodeComplete"];
break;
@@ -599,9 +595,6 @@ static void *SBQueueContex = &SBQueueContex;
break;
}
}
- else if ([tableColumn.identifier isEqualToString:@"actionColumn"]) {
- cell = [tableView makeViewWithIdentifier:@"actionColumn" owner:self];
- }
return cell;
}