# HG changeset patch # User Tomasz Mon # Date 1183577044 -7200 # Node ID 048fa5c2b1dbf576a25aa0e5d872bc6af4264b40 # Parent b5efea796fe89199f600a4ec543647ffd028ec0a paint on obj instead on textbox->img while in oneway scroll mode diff -r b5efea796fe8 -r 048fa5c2b1db src/audacious/ui_skinned_textbox.c --- a/src/audacious/ui_skinned_textbox.c Wed Jul 04 17:34:05 2007 +0200 +++ b/src/audacious/ui_skinned_textbox.c Wed Jul 04 21:24:04 2007 +0200 @@ -285,15 +285,15 @@ if(textbox->pixmap_width - textbox->offset > textbox->width){ // case1 cw1 = textbox->width; - gdk_draw_drawable(textbox->img, textbox->gc, textbox->pixmap, textbox->offset, 0, + gdk_draw_drawable(obj, textbox->gc, textbox->pixmap, textbox->offset, 0, 0, 0, cw1, textbox->height); } else { // case 2 cw1 = textbox->pixmap_width - textbox->offset; - gdk_draw_drawable(textbox->img, textbox->gc, textbox->pixmap, textbox->offset, 0, + gdk_draw_drawable(obj, textbox->gc, textbox->pixmap, textbox->offset, 0, 0, 0, cw1, textbox->height); cw2 = textbox->width - cw1; - gdk_draw_drawable(textbox->img, textbox->gc, textbox->pixmap, 0, 0, cw1, 0, cw2, textbox->height); + gdk_draw_drawable(obj, textbox->gc, textbox->pixmap, 0, 0, cw1, 0, cw2, textbox->height); } }