diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-22 18:44:01 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-22 18:44:01 +0000 |
commit | ce3b1d32a5d792e36fa8e4cdcafb4d0e23fafc71 (patch) | |
tree | 8bde3d6d107ea71d53b8ba98262403316f33a6ef | |
parent | 3f832f629faf1569637684d6f23a938f6d74553c (diff) | |
download | sequelpro-ce3b1d32a5d792e36fa8e4cdcafb4d0e23fafc71.tar.gz sequelpro-ce3b1d32a5d792e36fa8e4cdcafb4d0e23fafc71.tar.bz2 sequelpro-ce3b1d32a5d792e36fa8e4cdcafb4d0e23fafc71.zip |
• changed DocTypes for sql and spf files
-rw-r--r-- | Resources/Info.plist | 4 | ||||
-rw-r--r-- | Source/SPAppController.m | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Resources/Info.plist b/Resources/Info.plist index f62891db..819db1db 100644 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -14,7 +14,7 @@ <key>CFBundleTypeIconFile</key> <string>appicon.icns</string> <key>CFBundleTypeName</key> - <string>DocumentType</string> + <string>SequelPro connection</string> <key>CFBundleTypeOSTypes</key> <array> <string>connection</string> @@ -32,7 +32,7 @@ <key>CFBundleTypeIconFile</key> <string>appicon.icns</string> <key>CFBundleTypeName</key> - <string>DocumentType</string> + <string>SQL file</string> <key>CFBundleTypeOSTypes</key> <array> <string>sql text</string> 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]; } |