mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-21 17:49:34 +00:00
Refacoted window and view controller to use windowNibName and nibName. Fixes #164
This commit is contained in:
@@ -25,8 +25,12 @@
|
||||
|
||||
@implementation MPSettingsWindowController
|
||||
|
||||
- (NSString *)windowNibName {
|
||||
return @"SettingsWindow";
|
||||
}
|
||||
|
||||
-(id)init {
|
||||
self = [super initWithWindowNibName:@"SettingsWindow"];
|
||||
self = [super initWithWindow:nil];
|
||||
if(self) {
|
||||
_toolbar = [[NSToolbar alloc] initWithIdentifier:@"SettingsToolBar"];
|
||||
[self.toolbar setAllowsUserCustomization:NO];
|
||||
|
||||
Reference in New Issue
Block a user