mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 12:29:31 +00:00
First drafting for Password generator.
Extended Settings handling to be able to use Tabs
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user