From ce3b1d32a5d792e36fa8e4cdcafb4d0e23fafc71 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Sat, 22 Aug 2009 18:44:01 +0000 Subject: =?UTF-8?q?=E2=80=A2=20changed=20DocTypes=20for=20sql=20and=20spf?= =?UTF-8?q?=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPAppController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/SPAppController.m') diff --git a/Source/SPAppController.m b/Source/SPAppController.m index e3778327..b9e32dd1 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -190,7 +190,7 @@ TableDocument *firstTableDocument; // Manually open a new document, setting SPAppController as sender to trigger autoconnection - if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"DocumentType" error:nil]) { + if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"SequelPro connection" error:nil]) { [firstTableDocument setShouldAutomaticallyConnect:NO]; // user comes from a openPanel? if so use the chosen encoding @@ -225,7 +225,7 @@ TableDocument *newTableDocument; // Manually open a new document, setting SPAppController as sender to trigger autoconnection - if (newTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"DocumentType" error:nil]) { + if (newTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"SequelPro connection" error:nil]) { [newTableDocument setShouldAutomaticallyConnect:NO]; [[NSDocumentController sharedDocumentController] addDocument:newTableDocument]; [newTableDocument makeWindowControllers]; @@ -342,7 +342,7 @@ TableDocument *firstTableDocument; // Manually open a new document, setting SPAppController as sender to trigger autoconnection - if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"DocumentType" error:nil]) { + if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"SequelPro connection" error:nil]) { if ([[NSUserDefaults standardUserDefaults] boolForKey:@"AutoConnectToDefault"]) { [firstTableDocument setShouldAutomaticallyConnect:YES]; } -- cgit v1.2.3