First drafting for Password generator.

Extended Settings handling to be able to use Tabs
This commit is contained in:
michael starke
2013-03-31 15:57:41 +02:00
parent 476e18b870
commit a70aedb51e
22 changed files with 1123 additions and 125 deletions

View File

@@ -21,10 +21,6 @@ NSString *const MPGeneralSetingsIdentifier = @"GeneralSettingsTab";
return MPGeneralSetingsIdentifier;
}
+ (NSImage *)image {
return [NSImage imageNamed:NSImageNamePreferencesGeneral];
}
- (id)init {
return [self initWithNibName:@"GeneralSettings" bundle:[NSBundle mainBundle]];
}
@@ -34,6 +30,14 @@ NSString *const MPGeneralSetingsIdentifier = @"GeneralSettingsTab";
return self;
}
- (NSImage *)image {
return [NSImage imageNamed:NSImageNamePreferencesGeneral];
}
- (NSString *)label {
return NSLocalizedString(@"GENERAL_SETTINGS", @"General Settings Label");
}
- (void)didLoadView {
// setup connections
NSMenu *encodingMenu = [[NSMenu allocWithZone:[NSMenu menuZone]] init];