git.ithinksw.org
/
ITKit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4d01d52
)
Using CFBundleName + CFBundleVersion instead of the weird shoft bundle version string.
author
Kent Sutherland
<ksuther@ithinksw.com>
Mon, 26 Dec 2005 06:42:05 +0000
(06:42 +0000)
committer
Kent Sutherland
<ksuther@ithinksw.com>
Mon, 26 Dec 2005 06:42:05 +0000
(06:42 +0000)
ITAboutWindowController.m
patch
|
blob
|
history
diff --git
a/ITAboutWindowController.m
b/ITAboutWindowController.m
index
cea9a78
..
71a6ed7
100644
(file)
--- a/
ITAboutWindowController.m
+++ b/
ITAboutWindowController.m
@@
-24,7
+24,7
@@
static ITAboutWindowController *_sharedController;
{
[_appIcon setImage:[[[NSImage alloc] initWithContentsOfFile:[[NSBundle mainBundle] pathForImageResource:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleIconFile"]]] autorelease]];
{
[_appIcon setImage:[[[NSImage alloc] initWithContentsOfFile:[[NSBundle mainBundle] pathForImageResource:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleIconFile"]]] autorelease]];
- [_appName setStringValue:[
[NSBundle mainBundle] localizedStringForKey:@"CFBundleShortVersionString" value:@"" table:@"InfoPlist"
]];
+ [_appName setStringValue:[
NSString stringWithFormat:@"%@ %@", [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"], [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]
]];
[_companySite setStringValue:@"http://www.ithinksw.com/"];
[_copyright setStringValue:[[NSBundle mainBundle] localizedStringForKey:@"NSHumanReadableCopyright" value:@"" table:@"InfoPlist"]];
[_companySite setStringValue:@"http://www.ithinksw.com/"];
[_copyright setStringValue:[[NSBundle mainBundle] localizedStringForKey:@"NSHumanReadableCopyright" value:@"" table:@"InfoPlist"]];