diff options
author | Damiano Galassi <[email protected]> | 2019-07-27 13:15:37 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-07-27 13:15:37 +0200 |
commit | f82a8597f2800a5ca147679ad5660ef9fab5a85d (patch) | |
tree | 8e859079072c7c5e939ba4a7a7fcac5e8a67c3d9 /macosx/HBJob+UIAdditions.m | |
parent | a1d064d2f01d963213b1336c0aeda9e7a1a6817f (diff) |
MacGui: improve queue labels when multiple jobs are selected; fix some bugs.
Diffstat (limited to 'macosx/HBJob+UIAdditions.m')
-rw-r--r-- | macosx/HBJob+UIAdditions.m | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/macosx/HBJob+UIAdditions.m b/macosx/HBJob+UIAdditions.m index 28c7edfe5..a13670499 100644 --- a/macosx/HBJob+UIAdditions.m +++ b/macosx/HBJob+UIAdditions.m @@ -660,20 +660,32 @@ static NSDictionary *shortHeightAttr; { [attrString appendAttributedString:[self presetAttributedDescription]]; [attrString appendString:@"\n" withAttributes: detailAttr]; + [attrString appendAttributedString:[self sourceAttributedDescription]]; [attrString appendString:@"\n" withAttributes: detailAttr]; + [attrString appendAttributedString:[self destinationAttributedDescription]]; [attrString appendString:@"\n" withAttributes: detailAttr]; + [attrString appendAttributedString:[self formatAttributedDescription]]; [attrString appendString:@"\n" withAttributes: detailAttr]; + [attrString appendAttributedString:[self rangeAttributedDescription]]; [attrString appendString:@"\n" withAttributes: detailAttr]; + [attrString appendAttributedString:[self dimensionsAttributedDescription]]; [attrString appendString:@"\n" withAttributes: detailAttr]; - [attrString appendAttributedString:[self filtersAttributedDescription]]; - [attrString appendString:@"\n" withAttributes: detailAttr]; + + NSAttributedString *filters = [self filtersAttributedDescription]; + if (filters.length) + { + [attrString appendAttributedString:[self filtersAttributedDescription]]; + [attrString appendString:@"\n" withAttributes: detailAttr]; + } + [attrString appendAttributedString:[self videoAttributedDescription]]; [attrString appendString:@"\n" withAttributes: detailAttr]; + if (self.audio.countOfTracks > 1) { [attrString appendAttributedString:[self audioAttributedDescription]]; @@ -690,7 +702,6 @@ static NSDictionary *shortHeightAttr; return attrString; } - #pragma mark - Short descriptions - (NSString *)videoShortDescription |