]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/interaction.m
* removed the old panel which used to show msg_err completely (hopefully) and added...
[vlc] / modules / gui / macosx / interaction.m
index dcb7d2c51fe29d1d40d121a3b49f279f9fe56095..c420800ff67477f666311eb20369f22008c0548e 100644 (file)
 -(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
  *---------------------------------------------------------------------------*/