X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Finteraction.m;h=c420800ff67477f666311eb20369f22008c0548e;hb=d57320b4266d9835d85f5d69b7270fbcb087e23a;hp=dcb7d2c51fe29d1d40d121a3b49f279f9fe56095;hpb=0a9dbda92034654d20a12e3d616e93e3ac382849;p=vlc diff --git a/modules/gui/macosx/interaction.m b/modules/gui/macosx/interaction.m index dcb7d2c51f..c420800ff6 100644 --- a/modules/gui/macosx/interaction.m +++ b/modules/gui/macosx/interaction.m @@ -381,9 +381,16 @@ -(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]; @@ -490,6 +497,11 @@ [o_error_table reloadData]; } +-(IBAction)showMessages:(id)sender +{ + [[VLCMain sharedInstance] showMessagesPanel: sender]; +} + /*---------------------------------------------------------------------------- * data source methods *---------------------------------------------------------------------------*/