Changing the timeout repeat so that it matches the spec of 6 chars per second. Fixes...
authorMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Thu, 23 Aug 2007 12:53:37 +0000 (12:53 +0000)
committerMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Thu, 23 Aug 2007 12:53:37 +0000 (12:53 +0000)
ChangeLog
src/hildon-calendar.c
src/hildon-number-editor.c
src/hildon-time-picker.c

index 50264e5..03a1a95 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
+
+       * src/hildon-calendar.c:
+       * src/hildon-number-editor.c:
+       * src/hildon-time-picker.c: Changing the timeout repeat so that it
+       matches the spec of 6 chars per second. Fixes: NB#60489.
+
 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
 
        * src/hildon-helper.c: Really fixing NB#58352. Looks like
index 4802ee0..f2d67f4 100644 (file)
@@ -3036,7 +3036,7 @@ calendar_timer                                  (gpointer data)
 
     settings = gtk_settings_get_default ();
     g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
-    timeout *= 5;
+    timeout *= 8;
 
     GDK_THREADS_ENTER ();
 
@@ -3070,7 +3070,7 @@ start_spinning                                  (GtkWidget *widget,
 
     settings = gtk_settings_get_default ();
     g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
-    timeout *= 5;
+    timeout *= 8;
 
     private_data->click_child = click_child;
 
index ce87f20..72914d5 100644 (file)
@@ -504,7 +504,7 @@ hildon_number_editor_start_timer                (HildonNumberEditor *editor)
     priv = HILDON_NUMBER_EDITOR_GET_PRIVATE (editor);
     settings = gtk_settings_get_default ();
     g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
-    timeout *= 5;
+    timeout *= 8;
 
     priv->button_event_id = g_timeout_add (timeout,
             (GSourceFunc) do_mouse_timeout,
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) */