diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBPreferencesController.m | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m index 47bd36113..ede4ca44b 100644 --- a/macosx/HBPreferencesController.m +++ b/macosx/HBPreferencesController.m @@ -4,6 +4,8 @@ */ #import "HBPreferencesController.h" +#import "HBLanguagesSelection.h" + #define TOOLBAR_GENERAL @"TOOLBAR_GENERAL" #define TOOLBAR_PICTURE @"TOOLBAR_PICTURE" #define TOOLBAR_AUDIO @"TOOLBAR_AUDIO" @@ -32,6 +34,8 @@ @property (readonly, nonatomic) NSArray *buildInFormatTokens; @property (retain, nonatomic) NSArray *matches; +@property (retain, nonatomic) HBLanguagesSelection *languages; + @end @implementation HBPreferencesController @@ -85,10 +89,18 @@ if (self = [super initWithWindowNibName:@"Preferences"]) { NSAssert([self window], @"[HBPreferencesController init] window outlet is not connected in Preferences.nib"); + _languages = [[HBLanguagesSelection alloc] init]; + } return self; } +- (void)dealloc +{ + [_languages release]; + [super dealloc]; +} + /** * -[HBPreferencesController awakeFromNib] * |