aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-22 18:44:01 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-22 18:44:01 +0000
commitce3b1d32a5d792e36fa8e4cdcafb4d0e23fafc71 (patch)
tree8bde3d6d107ea71d53b8ba98262403316f33a6ef /Source/SPAppController.m
parent3f832f629faf1569637684d6f23a938f6d74553c (diff)
downloadsequelpro-ce3b1d32a5d792e36fa8e4cdcafb4d0e23fafc71.tar.gz
sequelpro-ce3b1d32a5d792e36fa8e4cdcafb4d0e23fafc71.tar.bz2
sequelpro-ce3b1d32a5d792e36fa8e4cdcafb4d0e23fafc71.zip
• changed DocTypes for sql and spf files
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m6
1 files changed, 3 insertions, 3 deletions
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];
}