Mercurial > mplayer.hg
comparison gui/ui/gtk/fileselect.c @ 35452:f42cc2361ee4
Cosmetic: Rename uiSetFileName().
author | ib |
---|---|
date | Sat, 01 Dec 2012 19:05:24 +0000 |
parents | 0c93b5400dc7 |
children | 411875efca3f |
comparison
equal
deleted
inserted
replaced
35451:29f66b254dd7 | 35452:f42cc2361ee4 |
---|---|
501 switch ( fsType ) | 501 switch ( fsType ) |
502 { | 502 { |
503 case fsVideoSelector: | 503 case fsVideoSelector: |
504 for (l = 0; fsVideoFilterNames[l][0]; l++) | 504 for (l = 0; fsVideoFilterNames[l][0]; l++) |
505 if (strcmp(fsVideoFilterNames[l][0], MSGTR_Filter_Playlists) == 0) break; | 505 if (strcmp(fsVideoFilterNames[l][0], MSGTR_Filter_Playlists) == 0) break; |
506 uiSetFileName( fsSelectedDirectory,fsSelectedFile, fsLastVideoFilterSelected == l ? STREAMTYPE_PLAYLIST : STREAMTYPE_FILE ); | 506 uiSetFile( fsSelectedDirectory,fsSelectedFile, fsLastVideoFilterSelected == l ? STREAMTYPE_PLAYLIST : STREAMTYPE_FILE ); |
507 selected = g_strconcat(fsSelectedDirectory, "/", fsSelectedFile, NULL); | 507 selected = g_strconcat(fsSelectedDirectory, "/", fsSelectedFile, NULL); |
508 if (selected) | 508 if (selected) |
509 { | 509 { |
510 listMgr(PLAYLIST_DELETE, 0); | 510 listMgr(PLAYLIST_DELETE, 0); |
511 add_to_gui_playlist(selected, PLAYLIST_ITEM_APPEND); | 511 add_to_gui_playlist(selected, PLAYLIST_ITEM_APPEND); |