Mercurial > mplayer.hg
diff gui/ui/gtk/url.c @ 35350:ee265b18d653
Rename import_file_into_gui() add_to_gui_playlist().
This seems to be a more appropriate name.
Additionally, use self-explanatory enum constants instead of numeric
ones, change the parameter names and a declaration to const, check the
parameters and print the debug message only if the item will really be
added.
(For the sake of consistency, adjust the Win32 code as well.)
author | ib |
---|---|
date | Thu, 22 Nov 2012 13:57:40 +0000 |
parents | 60930e7347c6 |
children | 96cda43fe250 |
line wrap: on
line diff
--- a/gui/ui/gtk/url.c Thu Nov 22 13:13:29 2012 +0000 +++ b/gui/ui/gtk/url.c Thu Nov 22 13:57:40 2012 +0000 @@ -103,7 +103,7 @@ listMgr( URLLIST_ITEM_ADD,item ); uiSetFileName( NULL,str,STREAMTYPE_STREAM ); guiInfo.NewPlay=GUI_FILE_NEW; - import_file_into_gui(str, 0); + add_to_gui_playlist(str, PLAYLIST_ITEM_APPEND); uiEventHandling( evPlay,0 ); } }