summaryrefslogtreecommitdiff
path: root/plugins/gtkui
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-07 19:58:07 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-07 19:58:07 +0200
commite182a3c44d6f92ab5611bbd20174c68d9b0cb52f (patch)
tree99837912f64d3290af3b39cf742fe69b131d159d /plugins/gtkui
parent17db9ad18f4a5aa5e60f2eb15f0a9f990f76079d (diff)
fix current track redraw after playqueue switches playback to another playlist
Diffstat (limited to 'plugins/gtkui')
-rw-r--r--plugins/gtkui/gtkui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c
index 480c6663..7f97791f 100644
--- a/plugins/gtkui/gtkui.c
+++ b/plugins/gtkui/gtkui.c
@@ -577,12 +577,14 @@ on_add_location_activate (GtkMenuItem *menuitem,
static void
songchanged (DdbListview *ps, DB_playItem_t *from, DB_playItem_t *to) {
- int str_plt = deadbeef->streamer_get_current_playlist ();
int plt = deadbeef->plt_get_curr ();
+#if 0 // this breaks redraw when playqueue switches to another playlist
+ int str_plt = deadbeef->streamer_get_current_playlist ();
if (plt != str_plt) {
// have nothing to do here -- active playlist is not the one with playing song
return;
}
+#endif
int to_idx = -1;
if (!ddb_listview_is_scrolling (ps) && to) {
to_idx = deadbeef->pl_get_idx_of (to);