X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fwxwindows%2Ffileinfo.cpp;h=32ee83e13cb6f28d14124d5ef7a1253dabb58ac2;hb=975daf79d45fc37a83703f12056d637ae9dea9df;hp=070980ebf97fd71d99092a26878969d7eab8db27;hpb=4e4b096772d6b5eb298bc6f1e03fe145a7f7e6f5;p=vlc diff --git a/modules/gui/wxwindows/fileinfo.cpp b/modules/gui/wxwindows/fileinfo.cpp index 070980ebf9..32ee83e13c 100644 --- a/modules/gui/wxwindows/fileinfo.cpp +++ b/modules/gui/wxwindows/fileinfo.cpp @@ -2,7 +2,7 @@ * fileinfo.cpp : wxWindows plugin for vlc ***************************************************************************** * Copyright (C) 2000-2001 VideoLAN - * $Id: fileinfo.cpp,v 1.15 2003/06/05 21:22:27 gbazin Exp $ + * $Id: fileinfo.cpp,v 1.17 2003/07/12 13:33:10 gbazin Exp $ * * Authors: Sigmund Augdal * @@ -93,7 +93,7 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ): fileinfo_root_label = wxT(""); /* Create the OK button */ - wxButton *ok_button = new wxButton( panel, wxID_OK, wxU(_("OK")) ); + wxButton *ok_button = new wxButton( panel, wxID_OK, wxU(_("Close")) ); ok_button->SetDefault(); /* Place everything in sizers */ @@ -117,7 +117,7 @@ void FileInfo::UpdateFileInfo() { input_thread_t *p_input = p_intf->p_sys->p_input; - if( !p_input || p_input->b_dead ) + if( !p_input || p_input->b_dead || !p_input->psz_name ) { if( fileinfo_root ) {