mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-25 11:19:38 +00:00
Splitter handling now works better with Inspector. Still some work to be done!
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
|
||||
@property (retain) MPSettingsController *settingsController;
|
||||
@property (retain) MPMainWindowController *mainWindowController;
|
||||
@property (assign) IBOutlet NSMenuItem *toggleOutlineViewMenuItem;
|
||||
@property (assign) IBOutlet NSMenuItem *toggleInspectorViewMenuItem;
|
||||
|
||||
- (void)_setupMenues;
|
||||
|
||||
- (IBAction)showPreferences:(id)sender;
|
||||
@end
|
||||
@@ -25,6 +29,8 @@
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
|
||||
self.mainWindowController = [[[MPMainWindowController alloc] init] autorelease];
|
||||
[self.mainWindowController showWindow:[self.mainWindowController window]];
|
||||
[self _setupMenues];
|
||||
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
@@ -37,6 +43,13 @@
|
||||
return [[NSBundle mainBundle] infoDictionary][@"CFBundleName"];
|
||||
}
|
||||
|
||||
#pragma mark Setup
|
||||
|
||||
- (void)_setupMenues {
|
||||
[self.toggleInspectorViewMenuItem setAction:@selector(toggleInspector:)];
|
||||
[self.toggleOutlineViewMenuItem setAction:@selector(toggleOutlineView:)];
|
||||
}
|
||||
|
||||
#pragma mark Menu Actions
|
||||
|
||||
- (void)showMainWindow:(id)sender {
|
||||
|
||||
Reference in New Issue
Block a user