diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2017-10-02 12:12:01 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2017-10-02 12:12:01 +0200 |
commit | 4dfca5b56b441faf4938b6c8e97585f68e468039 (patch) | |
tree | 325b622767611e0fc08c08f4792c1b85ca020f07 /src/ui_act.c | |
parent | 41a00cc1e643d9e9a69991ead268777ecd17c154 (diff) | |
download | pianobar-4dfca5b56b441faf4938b6c8e97585f68e468039.tar.gz pianobar-4dfca5b56b441faf4938b6c8e97585f68e468039.tar.bz2 pianobar-4dfca5b56b441faf4938b6c8e97585f68e468039.zip |
Show station in song lists
Iff song’s station is not the current station. This is only the case for
the song history right now.
Closes #638
Diffstat (limited to 'src/ui_act.c')
-rw-r--r-- | src/ui_act.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui_act.c b/src/ui_act.c index ee43809..2c5f264 100644 --- a/src/ui_act.c +++ b/src/ui_act.c @@ -505,7 +505,7 @@ BarUiActCallback(BarUiActTempBanSong) { BarUiActCallback(BarUiActPrintUpcoming) { PianoSong_t * const nextSong = PianoListNextP (selSong); if (nextSong != NULL) { - BarUiListSongs (&app->settings, nextSong, NULL); + BarUiListSongs (app, nextSong, NULL); } else { BarUiMsg (&app->settings, MSG_INFO, "No songs in queue.\n"); } @@ -587,7 +587,7 @@ BarUiActCallback(BarUiActHistory) { PianoSong_t *histSong; if (app->songHistory != NULL) { - histSong = BarUiSelectSong (&app->settings, app->songHistory, + histSong = BarUiSelectSong (app, app->songHistory, &app->input); if (histSong != NULL) { BarKeyShortcutId_t action; @@ -842,7 +842,7 @@ BarUiActCallback(BarUiActManageStation) { BarUiActDefaultEventcmd ("stationdeleteartistseed"); } } else if (selectBuf[0] == 's') { - PianoSong_t *song = BarUiSelectSong (&app->settings, + PianoSong_t *song = BarUiSelectSong (app, reqData.info.songSeeds, &app->input); if (song != NULL) { PianoRequestDataDeleteSeed_t subReqData; @@ -869,7 +869,7 @@ BarUiActCallback(BarUiActManageStation) { BarUiActDefaultEventcmd ("stationdeletestationseed"); } } else if (selectBuf[0] == 'f') { - PianoSong_t *song = BarUiSelectSong (&app->settings, + PianoSong_t *song = BarUiSelectSong (app, reqData.info.feedback, &app->input); if (song != NULL) { BarUiMsg (&app->settings, MSG_INFO, "Deleting feedback... "); |