Mercurial > audlegacy
diff audacious/textbox.c @ 221:f490def08b5c trunk
[svn] Revert logic part of scrolling.
author | nenolod |
---|---|
date | Fri, 25 Nov 2005 12:50:50 -0800 |
parents | 428d3865de3c |
children | 8fee6432cd63 |
line wrap: on
line diff
--- a/audacious/textbox.c Tue Nov 22 21:21:26 2005 -0800 +++ b/audacious/textbox.c Fri Nov 25 12:50:50 2005 -0800 @@ -74,7 +74,7 @@ TextBox *tb = TEXT_BOX(data); if (!tb->tb_is_dragging) { - tb->tb_offset += 5; + tb->tb_offset += 1; if (tb->tb_offset >= tb->tb_pixmap_width) tb->tb_offset -= tb->tb_pixmap_width; widget_draw(WIDGET(tb)); @@ -417,7 +417,7 @@ if (tb->tb_is_scrollable) { if (tb->tb_scroll_enabled && !tb->tb_timeout_tag) { gint tag; - tag = TEXTBOX_SCROLL_SMOOTH_TIMEOUT * 5; + tag = TEXTBOX_SCROLL_SMOOTH_TIMEOUT; tb->tb_timeout_tag = gtk_timeout_add(tag, textbox_scroll, tb); } }