diff options
author | rowanbeentje <rowan@beent.je> | 2012-12-12 01:05:31 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-12-12 01:05:31 +0000 |
commit | daf9f3996968a38b761ea3161fa49f5a7040f01d (patch) | |
tree | 4986ff0beccd9193e08f1f6f195e4df35b648ce7 /Source | |
parent | 1a871cb106fd46c0fdd8a78cf70494d515eefc01 (diff) | |
download | sequelpro-daf9f3996968a38b761ea3161fa49f5a7040f01d.tar.gz sequelpro-daf9f3996968a38b761ea3161fa49f5a7040f01d.tar.bz2 sequelpro-daf9f3996968a38b761ea3161fa49f5a7040f01d.zip |
- Add final versions of the new icon designed by Kenichi Yoshida (with many thanks to Panic, Inc), recompressed for smaller file size and 10.5 compatibility
- Add document icons to match
- Amend the Info.plist to fix Sequel Pro being able to edit old .spf files etc
- Add .mysql file support (Issue #1366)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/GenerateThumbnailForURL.m | 2 | ||||
-rw-r--r-- | Source/SPBundleCommandRunner.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/GenerateThumbnailForURL.m b/Source/GenerateThumbnailForURL.m index 10a93378..3b7d3151 100644 --- a/Source/GenerateThumbnailForURL.m +++ b/Source/GenerateThumbnailForURL.m @@ -57,7 +57,7 @@ OSStatus GenerateThumbnailForURL(void *thisInterface, QLThumbnailRequestRef thum // NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; // - // NSData *thumbnailData = [NSData dataWithContentsOfFile:@"appicon.icns"]; + // NSData *thumbnailData = [NSData dataWithContentsOfFile:@"appIcon.icns"]; // if ( thumbnailData == nil || [thumbnailData length] == 0 ) { // // Nothing Found. Don't care. // [pool release]; diff --git a/Source/SPBundleCommandRunner.m b/Source/SPBundleCommandRunner.m index a91a1879..1e8b7ec9 100644 --- a/Source/SPBundleCommandRunner.m +++ b/Source/SPBundleCommandRunner.m @@ -146,7 +146,7 @@ NSMutableDictionary *theEnv = [NSMutableDictionary dictionary]; [theEnv setDictionary:shellEnvironment]; - [theEnv setObject:[[NSBundle mainBundle] pathForResource:@"appicon" ofType:@"icns"] forKey:SPBundleShellVariableIconFile]; + [theEnv setObject:[[NSBundle mainBundle] pathForResource:@"appIcon" ofType:@"icns"] forKey:SPBundleShellVariableIconFile]; [theEnv setObject:[NSString stringWithFormat:@"%@/Contents/Resources", [[NSBundle mainBundle] bundlePath]] forKey:SPBundleShellVariableAppResourcesDirectory]; [theEnv setObject:[NSNumber numberWithInteger:SPBundleRedirectActionNone] forKey:SPBundleShellVariableExitNone]; [theEnv setObject:[NSNumber numberWithInteger:SPBundleRedirectActionReplaceSection] forKey:SPBundleShellVariableExitReplaceSelection]; |