summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2010-08-19 18:45:59 +0000
committerdynaflash <[email protected]>2010-08-19 18:45:59 +0000
commit4254c0d0972f58ae02f9bd01a0b969acb11793c2 (patch)
treeee8d5422b9ece927f8775ec4b5877b4b3ee01547 /macosx/Controller.m
parent95628b04abdae3aa6b53f7eaf2bd0fbc89a5ff4f (diff)
MacGui: Encode status readout now two lines, first line is the name of the file being encoded and second line is the progress. Changed both for main window and queue window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3483 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r--macosx/Controller.m13
1 files changed, 4 insertions, 9 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index 47a1aca47..ee08ce182 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -927,7 +927,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
pass_desc = @"";
}
- string = [NSMutableString stringWithFormat: NSLocalizedString( @"Encoding: pass %d %@ of %d, %.2f %%", @"" ), p.job_cur, pass_desc, p.job_count, 100.0 * p.progress];
+ string = [NSMutableString stringWithFormat: NSLocalizedString( @"Encoding: %@ \nPass %d %@ of %d, %.2f %%", @"" ), currentQueueEncodeNameString, p.job_cur, pass_desc, p.job_count, 100.0 * p.progress];
if( p.seconds > -1 )
{
@@ -935,13 +935,8 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
NSLocalizedString( @" (%.2f fps, avg %.2f fps, ETA %02dh%02dm%02ds)", @"" ),
p.rate_cur, p.rate_avg, p.hours, p.minutes, p.seconds];
}
-
[fStatusField setStringValue: string];
- /* Set the status string in fQueueController as well but add currentQueueEncodeNameString to delineate
- * which encode is being worked on by this instance in a multiple instance situation
- */
- NSString * queueStatusString = [NSString stringWithFormat:@"%@ -> %@",string,currentQueueEncodeNameString];
- [fQueueController setQueueStatusString:queueStatusString];
+ [fQueueController setQueueStatusString:string];
/* Update slider */
CGFloat progress_total = ( p.progress + p.job_cur - 1 ) / p.job_count;
@@ -2099,11 +2094,11 @@ fWorkingCount = 0;
NSMutableString * string;
if (fPendingCount == 1)
{
- string = [NSMutableString stringWithFormat: NSLocalizedString( @"%d encode pending in the queue", @"" ), fPendingCount];
+ string = [NSMutableString stringWithFormat: NSLocalizedString( @"%d encode pending in queue", @"" ), fPendingCount];
}
else
{
- string = [NSMutableString stringWithFormat: NSLocalizedString( @"%d encode(s) pending in the queue", @"" ), fPendingCount];
+ string = [NSMutableString stringWithFormat: NSLocalizedString( @"%d encode(s) pending in queue", @"" ), fPendingCount];
}
[fQueueStatus setStringValue:string];
}