X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fopen.m;h=ee88534588fb8edaaec9bd07c21e65f0f977b571;hp=62aa9da025e5e892f97137268ce5a51f41767fd0;hb=21575d49b6ccd57e9997c3fddfda0e633052f780;hpb=8aa9a6a30c3657f84abe618d653975bbffb6c117 diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m index 62aa9da025..ee88534588 100644 --- a/modules/gui/macosx/open.m +++ b/modules/gui/macosx/open.m @@ -2,7 +2,7 @@ * open.m: MacOS X plugin for vlc ***************************************************************************** * Copyright (C) 2002 VideoLAN - * $Id: open.m,v 1.13 2003/01/23 21:47:59 massiot Exp $ + * $Id: open.m,v 1.14 2003/01/23 22:25:32 hartman Exp $ * * Authors: Jon Lech Johansen * Christophe Massiot @@ -844,17 +844,17 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class ) - (IBAction)openFile:(id)sender { NSOpenPanel *o_open_panel = [NSOpenPanel openPanel]; - - [o_open_panel setAllowsMultipleSelection: NO]; + + [o_open_panel setAllowsMultipleSelection: YES]; [o_open_panel setTitle: _NS("Open File")]; [o_open_panel setPrompt: _NS("Open")]; - + if( [o_open_panel runModalForDirectory: nil file: nil types: nil] == NSOKButton ) { intf_thread_t * p_intf = [NSApp getIntf]; config_PutPsz( p_intf, "sout", NULL ); - [o_playlist appendArray: [o_open_panel filenames] atPos: -1 enqueue: 0]; + [o_playlist appendArray: [o_open_panel filenames] atPos: -1 enqueue:VLC_FALSE]; } }