comparison gui/ui/gtk/fileselect.c @ 33894:b2e63fe7fe17

Remove needless guiInfo member FilenameChanged. Use existing member NewPlay for this, because FilenameChanged and NewPlay == GUI_FILE_NEW mean the same.
author ib
date Fri, 12 Aug 2011 14:09:36 +0000
parents 42feff0f8a7b
children e0d211c62cf7
comparison
equal deleted inserted replaced
33893:acfe0bf9a847 33894:b2e63fe7fe17
489 switch ( fsType ) 489 switch ( fsType )
490 { 490 {
491 case fsVideoSelector: 491 case fsVideoSelector:
492 setddup( &guiInfo.Filename,fsSelectedDirectory,fsSelectedFile ); 492 setddup( &guiInfo.Filename,fsSelectedDirectory,fsSelectedFile );
493 guiInfo.StreamType=STREAMTYPE_FILE; 493 guiInfo.StreamType=STREAMTYPE_FILE;
494 guiInfo.FilenameChanged=1; sub_fps=0; 494 guiInfo.NewPlay=GUI_FILE_NEW; sub_fps=0;
495 nfree( guiInfo.AudioFile ); 495 nfree( guiInfo.AudioFile );
496 nfree( guiInfo.Subtitlename ); 496 nfree( guiInfo.Subtitlename );
497 fs_PersistantHistory( get_current_dir_name_utf8() ); //totem, write into history 497 fs_PersistantHistory( get_current_dir_name_utf8() ); //totem, write into history
498 break; 498 break;
499 case fsSubtitleSelector: 499 case fsSubtitleSelector: