diff options
author | Kalle Wallin <kaw@linux.se> | 2004-03-27 21:44:58 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-03-27 21:44:58 +0000 |
commit | a9007c69af2d87006f22e9bdf5da8db9401b2379 (patch) | |
tree | bdc628cea84c383f9c33c7a5f803089c0b889014 /screen.c | |
parent | e3dd59c6b94c214a3a883ea938ca7ec966f2ba96 (diff) | |
download | mpd-a9007c69af2d87006f22e9bdf5da8db9401b2379.tar.gz mpd-a9007c69af2d87006f22e9bdf5da8db9401b2379.tar.xz mpd-a9007c69af2d87006f22e9bdf5da8db9401b2379.zip |
Moved random,repeat notification to main.c
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@519 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -169,7 +169,6 @@ paint_status_window(mpd_client_t *c) if( (IS_PLAYING(status->state) || IS_PAUSED(status->state)) && song ) { - // my_mvwaddstr(w, 0, x, mpc_get_song_name(song), COLOR_PAIR(2)); mvwaddstr(w, 0, x, mpc_get_song_name(song)); } @@ -183,7 +182,6 @@ paint_status_window(mpd_client_t *c) " [%i:%02i/%i:%02i] ", status->elapsedTime/60, status->elapsedTime%60, status->totalTime/60, status->totalTime%60 ); - //my_mvwaddstr(w, 0, x, screen->buf, COLOR_PAIR(1)); mvwaddstr(w, 0, x, screen->buf); } @@ -505,13 +503,11 @@ screen_cmd(mpd_client_t *c, command_t cmd) n = !c->status->repeat; mpd_sendRepeatCommand(c->connection, n); mpd_finishCommand(c->connection); - screen_status_printf("Repeat is %s", n ? "On" : "Off"); break; case CMD_RANDOM: n = !c->status->random; mpd_sendRandomCommand(c->connection, n); mpd_finishCommand(c->connection); - screen_status_printf("Random is %s", n ? "On" : "Off"); break; case CMD_VOLUME_UP: if( c->status->volume!=MPD_STATUS_NO_VOLUME && c->status->volume<100 ) |