comparison gui/ui/main.c @ 35452:f42cc2361ee4

Cosmetic: Rename uiSetFileName().
author ib
date Sat, 01 Dec 2012 19:05:24 +0000
parents 3a9048421524
children 9dceffa5d9b2
comparison
equal deleted inserted replaced
35451:29f66b254dd7 35452:f42cc2361ee4
209 if ( ( msg == evPlaySwitchToPause )&&( guiInfo.Playing == GUI_PAUSE ) ) goto NoPause; 209 if ( ( msg == evPlaySwitchToPause )&&( guiInfo.Playing == GUI_PAUSE ) ) goto NoPause;
210 210
211 if ( isPlaylistStreamtype && listMgr( PLAYLIST_ITEM_GET_CURR,0 ) ) 211 if ( isPlaylistStreamtype && listMgr( PLAYLIST_ITEM_GET_CURR,0 ) )
212 { 212 {
213 plItem * curr = listMgr( PLAYLIST_ITEM_GET_CURR,0 ); 213 plItem * curr = listMgr( PLAYLIST_ITEM_GET_CURR,0 );
214 uiSetFileName( curr->path,curr->name,SAME_STREAMTYPE ); 214 uiSetFile( curr->path,curr->name,SAME_STREAMTYPE );
215 } 215 }
216 216
217 switch ( guiInfo.StreamType ) 217 switch ( guiInfo.StreamType )
218 { 218 {
219 case STREAMTYPE_FILE: 219 case STREAMTYPE_FILE:
672 } 672 }
673 free( str ); 673 free( str );
674 } 674 }
675 675
676 if (filename) { 676 if (filename) {
677 uiSetFileName( NULL,filename,STREAMTYPE_FILE ); 677 uiSetFile( NULL,filename,STREAMTYPE_FILE );
678 if ( guiInfo.Playing == GUI_PLAY ) uiEventHandling( evStop,0 ); 678 if ( guiInfo.Playing == GUI_PLAY ) uiEventHandling( evStop,0 );
679 uiEventHandling( evPlay,0 ); 679 uiEventHandling( evPlay,0 );
680 } 680 }
681 if (subtitles) { 681 if (subtitles) {
682 nfree(guiInfo.SubtitleFilename); 682 nfree(guiInfo.SubtitleFilename);