Experimental applescript support

This commit is contained in:
Damiano Galassi committed 2017-02-24 11:26:55 +01:00
1 parent d9a4f56fc4
commit 57f2fe2560
9 files changed
+237 -28

No files matched your search

+2 -3
View File
@@ -24,7 +24,6 @@ static void *SBQueueContex = &SBQueueContex;
@interface SBQueueController () <NSPopoverDelegate, NSWindowDelegate, NSTableViewDelegate, NSTableViewDataSource, SBTableViewDelegate, SBItemViewDelegate>
@property (nonatomic, readonly) SBQueue *queue;
@property (nonatomic, readonly) SBQueuePreferences *prefs;
@property (nonatomic, readonly) NSMutableDictionary<NSString *, id> *options;
@@ -503,7 +502,7 @@ static void *SBQueueContex = &SBQueueContex;
[self updateDockTile];
}
- (void)start:(id)sender {
- (IBAction)start:(id)sender {
if (self.queue.status == SBQueueStatusWorking) {
return;
}
@@ -516,7 +515,7 @@ static void *SBQueueContex = &SBQueueContex;
[self.queue start];
}
- (void)stop:(id)sender {
- (IBAction)stop:(id)sender {
[self.queue stop];
}