summaryrefslogtreecommitdiff
path: root/gtkplaylist.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-15 08:47:07 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-15 08:47:07 +0200
commit7ccccadbc1ec2b2704d90f0e92e0dc7701fb2670 (patch)
tree6be4da5ed12f217745e2d1a77779a1bb500ad500 /gtkplaylist.c
parente3bc43bfd19ca55df69049fd8319de57f659b010 (diff)
fixed another playlist drawing regression
Diffstat (limited to 'gtkplaylist.c')
-rw-r--r--gtkplaylist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtkplaylist.c b/gtkplaylist.c
index a25c1bb3..0c39cde9 100644
--- a/gtkplaylist.c
+++ b/gtkplaylist.c
@@ -685,6 +685,10 @@ gtkpl_scroll (gtkplaylist_t *ps, int newscroll) {
}
}
}
+ else {
+ ps->scrollpos = newscroll;
+ gtkpl_draw_playlist (ps, 0, 0, widget->allocation.width, widget->allocation.height);
+ }
gdk_draw_drawable (widget->window, widget->style->black_gc, ps->backbuf, 0, 0, 0, 0, widget->allocation.width, widget->allocation.height);
}
}