This commit is contained in:
Damiano Galassi committed 2014-10-09 14:15:53 +02:00
1 parent a17494be65
commit bd8fd1161f
2 files changed
+12 -13

No files matched your search

+2 -3
View File
@@ -535,10 +535,9 @@ static void *SBQueueContex = &SBQueueContex;
}
- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)rowIndex {
if ([aTableColumn.identifier isEqualToString:@"nameColumn"])
if ([aTableColumn.identifier isEqualToString:@"nameColumn"]) {
return [[[self.queue itemAtIndex:rowIndex] URL] lastPathComponent];
if ([aTableColumn.identifier isEqualToString:@"statusColumn"]) {
} else if ([aTableColumn.identifier isEqualToString:@"statusColumn"]) {
SBQueueItemStatus batchStatus = [[self.queue itemAtIndex:rowIndex] status];
if (batchStatus == SBQueueItemStatusCompleted)
return [NSImage imageNamed:@"EncodeComplete"];
+10 -10
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13F14" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6246" systemVersion="14A361c" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment version="1060" defaultVersion="1060" identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/>
<deployment version="1060" identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6246"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="SBItemViewController">
@@ -16,7 +16,7 @@
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="c22-O7-iKe">
<rect key="frame" x="0.0" y="0.0" width="424" height="143"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
@@ -36,16 +36,16 @@
<textField verticalHuggingPriority="750" id="MHQ-kr-DVS">
<rect key="frame" x="18" y="65" width="73" height="14"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Destination:" id="9R2-ND-o8w">
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Destination:" id="9R2-ND-o8w">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" id="0Or-PU-gfk">
<rect key="frame" x="43" y="33" width="50" height="14"/>
<rect key="frame" x="18" y="33" width="75" height="14"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Actions:" id="4B2-1n-ouM">
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Actions:" id="4B2-1n-ouM">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
@@ -71,9 +71,9 @@
</connections>
</textField>
<textField verticalHuggingPriority="750" id="990-0E-nlL">
<rect key="frame" x="46" y="97" width="45" height="14"/>
<rect key="frame" x="18" y="97" width="73" height="14"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Source:" id="9De-A4-Oas">
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Source:" id="9De-A4-Oas">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
@@ -114,7 +114,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" selectionHighlightStyle="none" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="14" id="4Xn-YH-LzM">
<rect key="frame" x="0.0" y="0.0" width="317" height="19"/>
<rect key="frame" x="0.0" y="0.0" width="317" height="14"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="0.0"/>
<color key="backgroundColor" white="1" alpha="0.0" colorSpace="calibratedWhite"/>