From daf9f3996968a38b761ea3161fa49f5a7040f01d Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 12 Dec 2012 01:05:31 +0000 Subject: - 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) --- Source/GenerateThumbnailForURL.m | 2 +- Source/SPBundleCommandRunner.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Source') 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]; -- cgit v1.2.3