From: Patrick Hallen Date: Wed, 11 Feb 2009 19:30:27 +0000 (+0100) Subject: screen_artist: Added the jump command to the artist screen. X-Git-Tag: release-0.14~100 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6d621ca739247ef07daaca414f1a0360ea351b66;p=ncmpc.git screen_artist: Added the jump command to the artist screen. --- diff --git a/src/screen_artist.c b/src/screen_artist.c index 3b14e6b..0d81874 100644 --- a/src/screen_artist.c +++ b/src/screen_artist.c @@ -672,6 +672,22 @@ artist_cmd(mpdclient_t *c, command_t cmd) /* handled by browser_cmd() */ break; } + case CMD_LIST_JUMP: + switch (mode) { + case LIST_ARTISTS: + screen_jump(browser.lw, artist_lw_callback, artist_list); + artist_repaint(); + return true; + + case LIST_ALBUMS: + screen_jump(browser.lw, artist_lw_callback, album_list); + artist_repaint(); + return true; + + case LIST_SONGS: + /* handled by browser_cmd() */ + break; + } break;