Changing the timeout repeat so that it matches the spec of 6 chars per second. Fixes...
[hildon] / src / hildon-time-picker.c
index 7003975..3c9ea13 100644 (file)
@@ -651,7 +651,7 @@ hildon_time_picker_arrow_press                  (GtkWidget *widget,
     g_object_get (gtk_widget_get_settings (widget), 
                     "gtk-timeout-repeat", &key_repeat, NULL);
 
-    key_repeat *= 5;
+    key_repeat *= 8;
 
     /* Keep changing the time as long as button is being pressed.
        The first repeat takes 3 times longer to start than the rest. */
@@ -871,7 +871,7 @@ hildon_time_picker_key_repeat_timeout           (gpointer tpicker)
         g_object_get (gtk_widget_get_settings ((GtkWidget *) tpicker), 
                         "gtk-timeout-repeat", &key_repeat, NULL);
 
-        key_repeat *= 5;
+        key_repeat *= 8;
             
         /* This is the first repeat. Shorten the timeout to key_repeat
            (instead of the first time's 3*key_repeat) */