summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-27 20:10:58 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-27 20:10:58 +0200
commit0569faa14f7d05379462042b7d0b11f7ce84dc5d (patch)
tree5bc52635c1ec54db45450d923105446826446971 /main.c
parent276b4c66d5567e1d6b78e9445f9fd546b2b93176 (diff)
pressing stop now redraws stopped item properly
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/main.c b/main.c
index 973408ae..72ef14f0 100644
--- a/main.c
+++ b/main.c
@@ -355,12 +355,8 @@ player_thread (uintptr_t ctx) {
GDK_THREADS_LEAVE();
break;
case M_STOPSONG:
- p_stop ();
- GDK_THREADS_ENTER();
- if (playlist_current_ptr) {
- gtkpl_redraw_pl_row (&main_playlist, pl_get_idx_of (playlist_current_ptr), playlist_current_ptr);
- }
- GDK_THREADS_LEAVE();
+ //p_stop ();
+ streamer_set_nextsong (-2, 0);
break;
case M_NEXTSONG:
GDK_THREADS_ENTER();