-(id)init
{
[super init];
+
+ /* load the nib */
nib_interact_errpanel_loaded = [NSBundle loadNibNamed:@"InteractionErrorPanel" owner:self];
+
+ /* init strings */
[o_window setTitle: _NS("Errors and Warnings")];
[o_cleanup_button setTitle: _NS("Clean up")];
+ [o_messages_btn setTitle: _NS("Show Details")];
+
+ /* init data sources */
o_errors = [[NSMutableArray alloc] init];
o_icons = [[NSMutableArray alloc] init];
[o_error_table reloadData];
}
+-(IBAction)showMessages:(id)sender
+{
+ [[VLCMain sharedInstance] showMessagesPanel: sender];
+}
+
/*----------------------------------------------------------------------------
* data source methods
*---------------------------------------------------------------------------*/