Some pannable area tuning
authorAlejandro G. Castro <alex@igalia.com>
Wed, 26 Aug 2009 12:55:21 +0000 (14:55 +0200)
committerAlejandro G. Castro <alex@igalia.com>
Wed, 26 Aug 2009 12:55:21 +0000 (14:55 +0200)
* hildon/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Added more force and increased
the max speed threshold.

Fixes: NB#135344 (Pannign needs to be faster)

ChangeLog
hildon/hildon-pannable-area.c

index 4d6348d..c1cccea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-08-26  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_class_init): Added more force and increased
+       the max speed threshold.
+
+       Fixes: NB#135344 (Pannign needs to be faster)
+
 2009-08-26  Claudio Saavedra  <csaavedra@igalia.com>
 
        [Release 2.1.96, this time for real]
 2009-08-26  Claudio Saavedra  <csaavedra@igalia.com>
 
        [Release 2.1.96, this time for real]
index 3814865..7ba7c6c 100644 (file)
@@ -57,7 +57,7 @@
 #define SCROLL_FADE_TIMEOUT 100
 #define MOTION_EVENTS_PER_SECOND 25
 #define CURSOR_STOPPED_TIMEOUT 80
 #define SCROLL_FADE_TIMEOUT 100
 #define MOTION_EVENTS_PER_SECOND 25
 #define CURSOR_STOPPED_TIMEOUT 80
-#define MAX_SPEED_THRESHOLD 250
+#define MAX_SPEED_THRESHOLD 500
 #define PANNABLE_MAX_WIDTH 788
 #define PANNABLE_MAX_HEIGHT 378
 
 #define PANNABLE_MAX_WIDTH 788
 #define PANNABLE_MAX_HEIGHT 378
 
@@ -493,7 +493,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",
                                                      "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, 50,
+                                                     0, G_MAXUINT, 80,
                                                      G_PARAM_READWRITE |
                                                      G_PARAM_CONSTRUCT));
 
                                                      G_PARAM_READWRITE |
                                                      G_PARAM_CONSTRUCT));