# HG changeset patch
# User nenolod
# Date 1132951850 28800
# Node ID f490def08b5c5a7f25765ac1c4c546423fce7219
# Parent cbdecaedd6916503ccc2beb495f1d0984e016350
[svn] Revert logic part of scrolling.
diff -r cbdecaedd691 -r f490def08b5c audacious/glade/prefswin.glade
--- a/audacious/glade/prefswin.glade Tue Nov 22 21:21:26 2005 -0800
+++ b/audacious/glade/prefswin.glade Fri Nov 25 12:50:50 2005 -0800
@@ -9,8 +9,8 @@
GTK_WINDOW_TOPLEVEL
GTK_WIN_POS_CENTER
False
- 600
- 500
+ 500
+ 300
True
False
True
diff -r cbdecaedd691 -r f490def08b5c audacious/textbox.c
--- 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);
}
}