diff options
author | waker <wakeroid@gmail.com> | 2009-08-18 20:36:23 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-18 20:36:23 +0200 |
commit | 42c05923e9fe4f92c4dc7db636d1b871bdba0674 (patch) | |
tree | 9beab4572cdafc3c3d86c19a89e1795fb36ef8cc /gtkplaylist.c | |
parent | ed1142ed0ba5e747c2216afefb00490c4163824d (diff) |
fixed redraw after delete item
Diffstat (limited to 'gtkplaylist.c')
-rw-r--r-- | gtkplaylist.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtkplaylist.c b/gtkplaylist.c index 6154e8d5..4f55cbc2 100644 --- a/gtkplaylist.c +++ b/gtkplaylist.c @@ -832,10 +832,7 @@ gtkpl_keypress (gtkplaylist_t *ps, int keyval, int state) { } else if (keyval == GDK_Delete) { pl_delete_selected (); - gtkpl_setup_scrollbar (ps); - gtkpl_draw_playlist (ps, 0, 0, widget->allocation.width, widget->allocation.height); - gtkpl_expose (ps, 0, 0, widget->allocation.width, widget->allocation.height); - search_refresh (); + playlist_refresh (); return; } else if (keyval == GDK_Down && ps->row < (*ps->pcount) - 1) { |