aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-12-09 23:41:20 +0000
committerrowanbeentje <rowan@beent.je>2009-12-09 23:41:20 +0000
commitc1b9f9936fbf99ecf0f5ad2faaa0755fa27963c2 (patch)
treefbf657a29b909a56c39581a883add72414febdf1
parent82863377e365f27dffe757dba7b25163a48aec1d (diff)
downloadsequelpro-c1b9f9936fbf99ecf0f5ad2faaa0755fa27963c2.tar.gz
sequelpro-c1b9f9936fbf99ecf0f5ad2faaa0755fa27963c2.tar.bz2
sequelpro-c1b9f9936fbf99ecf0f5ad2faaa0755fa27963c2.zip
- Add document images for .spf and .sql files
- Rename "SequelPro connections" to "Sequel Pro connections" for consistency - Update version numbers to 0.9.7
-rw-r--r--Interfaces/English.lproj/InfoPlist.strings2
-rw-r--r--Resources/Images/spficon.icnsbin0 -> 107067 bytes
-rw-r--r--Resources/Images/sqlicon.icnsbin0 -> 108457 bytes
-rw-r--r--Resources/Info.plist12
-rw-r--r--Source/SPAppController.m8
-rw-r--r--Source/TableDocument.m2
-rw-r--r--sequel-pro.xcodeproj/project.pbxproj8
7 files changed, 20 insertions, 12 deletions
diff --git a/Interfaces/English.lproj/InfoPlist.strings b/Interfaces/English.lproj/InfoPlist.strings
index c624983c..59199f6b 100644
--- a/Interfaces/English.lproj/InfoPlist.strings
+++ b/Interfaces/English.lproj/InfoPlist.strings
@@ -1,4 +1,4 @@
/* Localized versions of Info.plist keys */
-CFBundleGetInfoString = "Sequel Pro version 0.9.6, Copyright 2002-2009 Sequel Pro and CocoaMySQL team.";
+CFBundleGetInfoString = "Sequel Pro version 0.9.7, Copyright 2002-2009 Sequel Pro and CocoaMySQL team.";
NSHumanReadableCopyright = "Copyright 2002-2009 Sequel Pro and CocoaMySQL team."; \ No newline at end of file
diff --git a/Resources/Images/spficon.icns b/Resources/Images/spficon.icns
new file mode 100644
index 00000000..2482ad56
--- /dev/null
+++ b/Resources/Images/spficon.icns
Binary files differ
diff --git a/Resources/Images/sqlicon.icns b/Resources/Images/sqlicon.icns
new file mode 100644
index 00000000..730d8101
--- /dev/null
+++ b/Resources/Images/sqlicon.icns
Binary files differ
diff --git a/Resources/Info.plist b/Resources/Info.plist
index ebd94b5f..9d9f8416 100644
--- a/Resources/Info.plist
+++ b/Resources/Info.plist
@@ -12,9 +12,9 @@
<string>spf</string>
</array>
<key>CFBundleTypeIconFile</key>
- <string>appicon.icns</string>
+ <string>spficon.icns</string>
<key>CFBundleTypeName</key>
- <string>SequelPro connection</string>
+ <string>Sequel Pro connection</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>connection</string>
@@ -30,7 +30,7 @@
<string>sql</string>
</array>
<key>CFBundleTypeIconFile</key>
- <string>appicon.icns</string>
+ <string>sqlicon.icns</string>
<key>CFBundleTypeName</key>
<string>SQL file</string>
<key>CFBundleTypeOSTypes</key>
@@ -60,15 +60,15 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.9.6</string>
+ <string>0.9.7</string>
<key>CFBundleVersion</key>
<string></string>
+ <key>LSMinimumSystemVersion</key>
+ <string>10.5.0</string>
<key>NSAppleScriptEnabled</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2002-2009 Sequel Pro and CocoaMySQL team.</string>
- <key>LSMinimumSystemVersion</key>
- <string>10.5.0</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 89574f04..62255501 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -242,7 +242,7 @@
TableDocument *firstTableDocument;
// Manually open a new document, setting SPAppController as sender to trigger autoconnection
- if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"SequelPro connection" error:nil]) {
+ if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"Sequel Pro connection" error:nil]) {
[firstTableDocument setShouldAutomaticallyConnect:NO];
// user comes from a openPanel? if so use the chosen encoding
@@ -277,7 +277,7 @@
TableDocument *newTableDocument;
// Manually open a new document, setting SPAppController as sender to trigger autoconnection
- if (newTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"SequelPro connection" error:nil]) {
+ if (newTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"Sequel Pro connection" error:nil]) {
[newTableDocument setShouldAutomaticallyConnect:NO];
[[NSDocumentController sharedDocumentController] addDocument:newTableDocument];
[newTableDocument makeWindowControllers];
@@ -409,7 +409,7 @@
TableDocument *firstTableDocument;
// Manually open a new document, setting SPAppController as sender to trigger autoconnection
- if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"SequelPro connection" error:nil]) {
+ if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"Sequel Pro connection" error:nil]) {
if ([[NSUserDefaults standardUserDefaults] boolForKey:SPAutoConnectToDefault]) {
[firstTableDocument setShouldAutomaticallyConnect:YES];
}
@@ -434,7 +434,7 @@
TableDocument *firstTableDocument;
// Manually open a new document, setting SPAppController as sender to trigger autoconnection
- if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"SequelPro connection" error:nil]) {
+ if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"Sequel Pro connection" error:nil]) {
[[NSDocumentController sharedDocumentController] addDocument:firstTableDocument];
[firstTableDocument makeWindowControllers];
[firstTableDocument showWindows];
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index 6d77b4e5..2fbe19c7 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -2182,7 +2182,7 @@
TableDocument *newTableDocument;
// Manually open a new document, setting SPAppController as sender to trigger autoconnection
- if (newTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"SequelPro connection" error:nil]) {
+ if (newTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"Sequel Pro connection" error:nil]) {
[newTableDocument setShouldAutomaticallyConnect:NO];
[[NSDocumentController sharedDocumentController] addDocument:newTableDocument];
[newTableDocument makeWindowControllers];
diff --git a/sequel-pro.xcodeproj/project.pbxproj b/sequel-pro.xcodeproj/project.pbxproj
index 8310a8f5..50930b4c 100644
--- a/sequel-pro.xcodeproj/project.pbxproj
+++ b/sequel-pro.xcodeproj/project.pbxproj
@@ -171,6 +171,8 @@
58C3506B10B9AA8B00D37E14 /* button_pagination.png in Resources */ = {isa = PBXBuildFile; fileRef = 58C3506A10B9AA8B00D37E14 /* button_pagination.png */; };
58C3507510B9ADEA00D37E14 /* ContentPaginationView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 58C3507310B9ADEA00D37E14 /* ContentPaginationView.xib */; };
58C458DF10CF188F00E6E13E /* libcrypto.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 17B7B58F1016028F00F057DE /* libcrypto.dylib */; };
+ 58C4593810D0674D00E6E13E /* spficon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 58C4593610D0674D00E6E13E /* spficon.icns */; };
+ 58C4593910D0674E00E6E13E /* sqlicon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 58C4593710D0674D00E6E13E /* sqlicon.icns */; };
58C56EF50F438E120035701E /* SPDataCellFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 58C56EF40F438E120035701E /* SPDataCellFormatter.m */; };
58CB20ED0F79A75D005EA204 /* button_edit_mode_selected.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 58CB20EC0F79A75D005EA204 /* button_edit_mode_selected.tiff */; };
58CDB3300FCE138D00F8ACA3 /* SPSSHTunnel.m in Sources */ = {isa = PBXBuildFile; fileRef = 58CDB32F0FCE138D00F8ACA3 /* SPSSHTunnel.m */; };
@@ -578,6 +580,8 @@
58C3506610B9A57300D37E14 /* button_right.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = button_right.png; sourceTree = "<group>"; };
58C3506A10B9AA8B00D37E14 /* button_pagination.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = button_pagination.png; sourceTree = "<group>"; };
58C3507410B9ADEA00D37E14 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/ContentPaginationView.xib; sourceTree = "<group>"; };
+ 58C4593610D0674D00E6E13E /* spficon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = spficon.icns; sourceTree = "<group>"; };
+ 58C4593710D0674D00E6E13E /* sqlicon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = sqlicon.icns; sourceTree = "<group>"; };
58C56EF30F438E120035701E /* SPDataCellFormatter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPDataCellFormatter.h; sourceTree = "<group>"; };
58C56EF40F438E120035701E /* SPDataCellFormatter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPDataCellFormatter.m; sourceTree = "<group>"; };
58CB20EC0F79A75D005EA204 /* button_edit_mode_selected.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = button_edit_mode_selected.tiff; sourceTree = "<group>"; };
@@ -1201,6 +1205,8 @@
384582C60FB9603600DDACB6 /* proc-small.png */,
384582C30FB95FF800DDACB6 /* func-small.png */,
17E6418C0EF02036001BC333 /* appicon.icns */,
+ 58C4593610D0674D00E6E13E /* spficon.icns */,
+ 58C4593710D0674D00E6E13E /* sqlicon.icns */,
17A66F6A10B1ED59004C9B12 /* old-appicon.icns */,
B58A323D0F6509D60003C243 /* button_action.tiff */,
B58A323E0F6509D60003C243 /* button_add.tiff */,
@@ -1718,6 +1724,8 @@
58C3506710B9A57300D37E14 /* button_right.png in Resources */,
58C3506B10B9AA8B00D37E14 /* button_pagination.png in Resources */,
58C3507510B9ADEA00D37E14 /* ContentPaginationView.xib in Resources */,
+ 58C4593810D0674D00E6E13E /* spficon.icns in Resources */,
+ 58C4593910D0674E00E6E13E /* sqlicon.icns in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};