Changed some of the default values.
authorAlejandro G. Castro <alex@igalia.com>
Fri, 22 May 2009 09:19:06 +0000 (11:19 +0200)
committerAlejandro G. Castro <alex@igalia.com>
Mon, 25 May 2009 17:38:44 +0000 (19:38 +0200)
* hildon/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Changed some of the default
values, now it should be less responsive and more accurate.

ChangeLog
hildon/hildon-pannable-area.c

index afcdea4..c81e175 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
 
        * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Changed some of the default
+       values, now it should be less responsive and more accurate.
+
+2009-05-25  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
        (hildon_pannable_area_init),
        (hildon_pannable_area_scroll_indicator_fade),
        (hildon_pannable_area_button_press_cb),
index 7db8bd9..450b2fa 100644 (file)
@@ -369,7 +369,7 @@ hildon_pannable_area_class_init (HildonPannableAreaClass * klass)
                                                        "Minimum scroll velocity",
                                                        "Minimum distance the child widget should scroll "
                                                        "per 'frame', in pixels per frame.",
-                                                       0, G_MAXDOUBLE, 20,
+                                                       0, G_MAXDOUBLE, 10,
                                                        G_PARAM_READWRITE |
                                                        G_PARAM_CONSTRUCT));
 
@@ -440,7 +440,7 @@ hildon_pannable_area_class_init (HildonPannableAreaClass * klass)
                                                      "Threshold to consider a motion event an scroll",
                                                      "Amount of pixels to consider a motion event an scroll, if it is less"
                                                       "it is a click detected incorrectly by the touch screen.",
-                                                     0, G_MAXUINT, 6,
+                                                     0, G_MAXUINT, 25,
                                                      G_PARAM_READWRITE |
                                                      G_PARAM_CONSTRUCT));
 
@@ -470,7 +470,7 @@ hildon_pannable_area_class_init (HildonPannableAreaClass * klass)
                                                      "Multiplier of the calculated speed",
                                                      "Force applied to the movement, multiplies the calculated speed of the"
                                                       "user movement the cursor in the screen",
-                                                     0, G_MAXUINT, 120,
+                                                     0, G_MAXUINT, 50,
                                                      G_PARAM_READWRITE |
                                                      G_PARAM_CONSTRUCT));