diff --git a/baRSS/Info.plist b/baRSS/Info.plist index b12a976..d9a8ea7 100644 --- a/baRSS/Info.plist +++ b/baRSS/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + 0.9 CFBundleURLTypes diff --git a/baRSS/Preferences/Preferences.m b/baRSS/Preferences/Preferences.m index f7c0dc2..a282e90 100644 --- a/baRSS/Preferences/Preferences.m +++ b/baRSS/Preferences/Preferences.m @@ -28,6 +28,9 @@ @interface Preferences () @property (weak) IBOutlet SettingsGeneral *settingsGeneral; @property (weak) IBOutlet SettingsFeeds *settingsFeeds; +@property (weak) IBOutlet NSView *aboutView; +@property (weak) IBOutlet NSTextField *lblAppName; +@property (weak) IBOutlet NSTextField *lblAppVersion; @end @implementation Preferences @@ -48,6 +51,11 @@ self.window.contentView = self.settingsGeneral.view; } else if ([sender.itemIdentifier isEqualToString:@"tabFeeds"]) { self.window.contentView = self.settingsFeeds.view; + } else if ([sender.itemIdentifier isEqualToString:@"tabAbout"]) { + NSDictionary *infoDict = [[NSBundle mainBundle] infoDictionary]; + self.lblAppName.objectValue = infoDict[@"CFBundleName"]; + self.lblAppVersion.stringValue = [NSString stringWithFormat:NSLocalizedString(@"Version %@", nil), infoDict[@"CFBundleShortVersionString"]]; + self.window.contentView = self.aboutView; } self.window.toolbar.selectedItemIdentifier = sender.itemIdentifier; diff --git a/baRSS/Preferences/Preferences.xib b/baRSS/Preferences/Preferences.xib index 96fae40..3e5e9d3 100644 --- a/baRSS/Preferences/Preferences.xib +++ b/baRSS/Preferences/Preferences.xib @@ -1,20 +1,23 @@ - + - + + + + - + @@ -35,10 +38,18 @@ + + + + + + + + @@ -49,8 +60,716 @@ + + + + + + + + + + + + + + + + + + + + +Cg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Oleg Geier + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Cg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + (MIT License) +or + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + (MIT License) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Cg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +