aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browser.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-18screen_browser: removed entity.song!=NULL checkMax Kellermann1-6/+5
It is guaranteed that the "song" attribute is not NULL, remove the check.
2008-09-18screen_browser: removed redundant highlight checkMax Kellermann1-6/+5
browser_select_entry() checked the entry's "highlight" flag twice: the first time, it was toggled, and the second time, action was performed based on the flag. Merge the two checks.
2008-09-18screen_browser: removed redundant entity type checksMax Kellermann1-14/+10
The function browser_select_entry() returns early when the entity type is not "SONG". No need to double check that.
2008-09-18screen_browser: moved code to browser_select_entry()Max Kellermann1-51/+24
Moved code from browser_handle_select(). Call this new function also from browser_handle_select_all(). This fixes a bug in select_all(): it actually did not select all, but stopped after the first song.
2008-09-18screen_browser: removed commented codeMax Kellermann1-15/+0
2008-09-18screen_browser: moved code to browser_playlist_changed()Max Kellermann1-2/+29
Merge code from all 3 browser screens into one generic browser function.
2008-09-18screen_browser: moved code to screen_browser.cMax Kellermann1-0/+474
Isolate the generic browser code from the directory browser.