diff --git a/src/MacVim/MMApplication.m b/src/MacVim/MMApplication.m index a21540e282..10c69d9d62 100644 --- a/src/MacVim/MMApplication.m +++ b/src/MacVim/MMApplication.m @@ -66,4 +66,21 @@ [super sendEvent:event]; } + +- (void)orderFrontStandardAboutPanel:(id)sender +{ + NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey: + @"CFBundleVersion"]; + NSString *marketingVersion = [[NSBundle mainBundle] + objectForInfoDictionaryKey:@"CFBundleShortVersionString"]; + NSString *title = [NSString stringWithFormat: + @"Custom Version %@ (%@)", marketingVersion, version]; + + [self orderFrontStandardAboutPanelWithOptions: + [NSDictionary dictionaryWithObjectsAndKeys: + @"", @"Version", + title, @"ApplicationVersion", + nil]]; +} + @end