[maemo-commits] [maemo-commits] r13376 - in projects/haf/trunk/hildon-1: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Aug 23 15:53:38 EEST 2007
Author: mdk
Date: 2007-08-23 15:53:37 +0300 (Thu, 23 Aug 2007)
New Revision: 13376

Modified:
   projects/haf/trunk/hildon-1/ChangeLog
   projects/haf/trunk/hildon-1/src/hildon-calendar.c
   projects/haf/trunk/hildon-1/src/hildon-number-editor.c
   projects/haf/trunk/hildon-1/src/hildon-time-picker.c
Log:
Changing the timeout repeat so that it matches the spec of 6 chars per second. Fixes: NB#60489.


Modified: projects/haf/trunk/hildon-1/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-1/ChangeLog	2007-08-23 12:41:58 UTC (rev 13375)
+++ projects/haf/trunk/hildon-1/ChangeLog	2007-08-23 12:53:37 UTC (rev 13376)
@@ -1,3 +1,10 @@
+2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa at 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 at nokia.com> 
 
 	* src/hildon-helper.c: Really fixing NB#58352. Looks like

Modified: projects/haf/trunk/hildon-1/src/hildon-calendar.c
===================================================================
--- projects/haf/trunk/hildon-1/src/hildon-calendar.c	2007-08-23 12:41:58 UTC (rev 13375)
+++ projects/haf/trunk/hildon-1/src/hildon-calendar.c	2007-08-23 12:53:37 UTC (rev 13376)
@@ -3036,7 +3036,7 @@
 
     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 @@
 
     settings = gtk_settings_get_default ();
     g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
-    timeout *= 5;
+    timeout *= 8;
 
     private_data->click_child = click_child;
 

Modified: projects/haf/trunk/hildon-1/src/hildon-number-editor.c
===================================================================
--- projects/haf/trunk/hildon-1/src/hildon-number-editor.c	2007-08-23 12:41:58 UTC (rev 13375)
+++ projects/haf/trunk/hildon-1/src/hildon-number-editor.c	2007-08-23 12:53:37 UTC (rev 13376)
@@ -504,7 +504,7 @@
     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,

Modified: projects/haf/trunk/hildon-1/src/hildon-time-picker.c
===================================================================
--- projects/haf/trunk/hildon-1/src/hildon-time-picker.c	2007-08-23 12:41:58 UTC (rev 13375)
+++ projects/haf/trunk/hildon-1/src/hildon-time-picker.c	2007-08-23 12:53:37 UTC (rev 13376)
@@ -651,7 +651,7 @@
     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 @@
         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) */


More information about the maemo-commits mailing list