diff options
author | dynaflash <[email protected]> | 2008-09-22 15:29:09 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-09-22 15:29:09 +0000 |
commit | 53058602694c8d17942dc874817b42cb9a6be51a (patch) | |
tree | e18571ffa645a99827c02edaaca6c89770a5d687 /macosx/Controller.mm | |
parent | 441c3d72579f339174d467e0f8f6b8b22ccdb135 (diff) |
MacGui: Fix sleep/shutdown warning so it only comes up once right when starting encoding instead of every time the queue starts the next encode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1743 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r-- | macosx/Controller.mm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 5fe2d6ff0..38ff91540 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -661,9 +661,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It frame.origin.y -= 36; [fWindow setFrame:frame display:YES animate:YES]; fRipIndicatorShown = YES; - /* We check to see if we need to warn the user that the computer will go to sleep - or shut down when encoding is finished */ - [self remindUserOfSleepOrShutdown]; + } /* Update dock icon */ @@ -2891,8 +2889,11 @@ fWorkingCount = 0; return; } - // If there are pending jobs in the queue, then this is a rip the queue + /* We check to see if we need to warn the user that the computer will go to sleep + or shut down when encoding is finished */ + [self remindUserOfSleepOrShutdown]; + // If there are pending jobs in the queue, then this is a rip the queue if (fPendingCount > 0) { /* here lets start the queue with the first pending item */ |