+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
settings = gtk_settings_get_default ();
g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
- timeout *= 5;
+ timeout *= 8;
GDK_THREADS_ENTER ();
settings = gtk_settings_get_default ();
g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
- timeout *= 5;
+ timeout *= 8;
private_data->click_child = click_child;
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,
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. */
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) */