summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-07-22 07:46:07 +0000
committerritsuka <[email protected]>2015-07-22 07:46:07 +0000
commitbe9ac805c8fbc2c8ba37389ce034db92f15b7e4a (patch)
treef14e4803c1eca0e93c712941f2fed6bfeddd9125 /macosx/HBController.m
parent99d6dc51d695cce18c27b65fb42196a57a4c3eb7 (diff)
MacGui: various queue improvements, including:
- multiple items drag & drop - "reset job" in contextual menu item to reset the job state - a toolbar item to select the action to perform when the queue is done - useless animations. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7358 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 51b7c503f..1259cc652 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -298,7 +298,7 @@
[toolbarItem setLabel: @"Stop"];
[toolbarItem setPaletteLabel: @"Stop"];
[toolbarItem setToolTip: @"Stop Encoding"];
- return (queueState != HBStateScanning);
+ return YES;
}
if (action == @selector(pause:))
{
@@ -1054,10 +1054,10 @@
/**
* Rescans the chosen queue item back into the main window
*/
-- (void)rescanJobToMainWindow:(HBJob *)queueItem
+- (void)openJob:(HBJob *)job
{
// Set the browsedSourceDisplayName for showNewScan
- self.jobFromQueue = queueItem;
+ self.jobFromQueue = job;
self.browsedSourceDisplayName = self.jobFromQueue.fileURL.lastPathComponent;
[self performScan:self.jobFromQueue.fileURL scanTitleNum:self.jobFromQueue.titleIdx];