Permalink
Browse files

Let window controller know what panes are available

Signed-off-by: Wincent Colaiuta <win@wincent.com>
  • Loading branch information...
1 parent 19dcc33 commit b216fde7e6fe49bfc20823524141661a24802b01 @wincent committed Nov 11, 2010
Showing with 6 additions and 0 deletions.
  1. +1 −0 WOFPrefs.m
  2. +4 −0 WOFPrefsWindowController.h
  3. +1 −0 WOFPrefsWindowController.m
View
@@ -80,6 +80,7 @@ - (void)orderFrontPreferencesPanel:(id)sender
{
self.windowController = [[WOFPrefsWindowController alloc] initWithWindowNibName:@"PrefsWindow"];
[self preparePanes];
+ [self.windowController setPanes:self.panes];
}
[self.windowController showWindow:self];
}
@@ -28,4 +28,8 @@
IBOutlet NSProgressIndicator *spinner;
}
+#pragma mark Properties
+
+@property(assign) NSArray *panes;
+
@end
@@ -42,5 +42,6 @@ - (void)windowDidLoad
#pragma mark Properties
@synthesize spinner;
+@synthesize panes;
@end

0 comments on commit b216fde

Please sign in to comment.