From a2a954c933d261e0cb9a0b4eca0d0d1f42902e81 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 13 Oct 2009 10:14:59 +0000 Subject: =?UTF-8?q?=E2=80=A2=C2=A0Sequel=20Pro=20now=20understands=20the?= =?UTF-8?q?=20AppleScript=20command=20'quit'=20correctly=20-=20this=20fixe?= =?UTF-8?q?d=20issue=20434?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPAppController.h | 4 +++- Source/SPAppController.m | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Source') diff --git a/Source/SPAppController.h b/Source/SPAppController.h index 6a5f9b6a..f22cd1d5 100644 --- a/Source/SPAppController.h +++ b/Source/SPAppController.h @@ -52,8 +52,10 @@ // Getters - (SPPreferenceController *)preferenceController; -// Other +// AppleScript handler - (id)handleQuitScriptCommand:(NSScriptCommand *)command; + +// Others - (NSString *)contentOfFile:(NSString *)aPath; @end diff --git a/Source/SPAppController.m b/Source/SPAppController.m index f5023643..e329f796 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -481,13 +481,11 @@ /** - * What exactly is this for? + * AppleScript handler to quit Sequel Pro */ - (id)handleQuitScriptCommand:(NSScriptCommand *)command { [NSApp terminate:self]; - - // Suppress warning return nil; } -- cgit v1.2.3