changeset 221:f490def08b5c trunk

[svn] Revert logic part of scrolling.
author nenolod
date Fri, 25 Nov 2005 12:50:50 -0800
parents cbdecaedd691
children b2b1df7d7db6
files audacious/glade/prefswin.glade audacious/textbox.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_CENTER</property>
   <property name="modal">False</property>
-  <property name="default_width">600</property>
-  <property name="default_height">500</property>
+  <property name="default_width">500</property>
+  <property name="default_height">300</property>
   <property name="resizable">True</property>
   <property name="destroy_with_parent">False</property>
   <property name="decorated">True</property>
--- 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);
         }
     }