aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAboutController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-07-10 22:23:27 +0000
committerstuconnolly <stuart02@gmail.com>2011-07-10 22:23:27 +0000
commit83300fa9c8341de78cb2f5fd2ddc57e778f1a2e7 (patch)
tree9ca63b94c2f3558ef0fafd5e81d2fcc3ceddd415 /Source/SPAboutController.m
parent9555a14652f743243c590455324a03bca702efd1 (diff)
downloadsequelpro-83300fa9c8341de78cb2f5fd2ddc57e778f1a2e7.tar.gz
sequelpro-83300fa9c8341de78cb2f5fd2ddc57e778f1a2e7.tar.bz2
sequelpro-83300fa9c8341de78cb2f5fd2ddc57e778f1a2e7.zip
Add Sparkle to credits.
Diffstat (limited to 'Source/SPAboutController.m')
-rw-r--r--Source/SPAboutController.m7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/SPAboutController.m b/Source/SPAboutController.m
index 0e0e7a09..1e0c82c2 100644
--- a/Source/SPAboutController.m
+++ b/Source/SPAboutController.m
@@ -25,6 +25,9 @@
#import "SPAboutController.h"
+static NSString *SPCreditsFilename = @"Credits";
+static NSString *SPLicenseFilename = @"License";
+
@implementation SPAboutController
/**
@@ -52,10 +55,10 @@
[appBuildVersionTextField setStringValue:[NSString stringWithFormat:@"%@ %@", (isNightly) ? NSLocalizedString(@"Nightly Build", @"nightly build label") : NSLocalizedString(@"Build", @"build label") , [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]]];
// Get the credits file contents
- NSAttributedString *credits = [[[NSAttributedString alloc] initWithPath:[[NSBundle mainBundle] pathForResource:@"Credits" ofType:@"rtf"] documentAttributes:nil] autorelease];
+ NSAttributedString *credits = [[[NSAttributedString alloc] initWithPath:[[NSBundle mainBundle] pathForResource:SPCreditsFilename ofType:@"rtf"] documentAttributes:nil] autorelease];
// Get the license file contents
- NSAttributedString *license = [[[NSAttributedString alloc] initWithPath:[[NSBundle mainBundle] pathForResource:@"License" ofType:@"rtf"] documentAttributes:nil] autorelease];
+ NSAttributedString *license = [[[NSAttributedString alloc] initWithPath:[[NSBundle mainBundle] pathForResource:SPLicenseFilename ofType:@"rtf"] documentAttributes:nil] autorelease];
// Set the credits
[[appCreditsTextView textStorage] appendAttributedString:credits];