Move the currently selected song to the top of the playlist. Definition at line 442 of file gui_playq.c. 00443 { 00444 struct vfsref *vr_selected; 00445 00446 playq_lock(); 00447 if (!gui_vfslist_warn_isempty(win_playq)) { 00448 vr_selected = gui_vfslist_getselected(win_playq); 00449 if (vr_selected == vfs_list_first(&playq_list)) { 00450 gui_msgbar_warn(_("The song is already at the " 00451 "top of the playlist.")); 00452 } else { 00453 playq_song_fast_move_head(vr_selected, 00454 gui_vfslist_getselectedidx(win_playq)); 00455 } 00456 } 00457 playq_unlock(); 00458 }
Here is the call graph for this function:
![]() |
1.6.3