summaryrefslogtreecommitdiff
path: root/capplets/keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/keyboard')
-rw-r--r--capplets/keyboard/mate-keyboard-properties-a11y.c15
-rw-r--r--capplets/keyboard/mate-keyboard-properties.c4
2 files changed, 19 insertions, 0 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-a11y.c b/capplets/keyboard/mate-keyboard-properties-a11y.c
index bd2d13e2..b51ade67 100644
--- a/capplets/keyboard/mate-keyboard-properties-a11y.c
+++ b/capplets/keyboard/mate-keyboard-properties-a11y.c
@@ -319,4 +319,19 @@ setup_a11y_tabs (GtkBuilder *dialog)
gtk_range_get_adjustment (GTK_RANGE (WID ("mousekeys_init_delay_slide"))),
"value",
G_SETTINGS_BIND_DEFAULT);
+
+#if !GTK_CHECK_VERSION (3, 0, 0)
+ const char *range_names[] = {
+ "slowkeys_delay_slide",
+ "bouncekeys_delay_slide",
+ "mousekeys_accel_time_slide",
+ "mousekeys_max_speed_slide",
+ "mousekeys_init_delay_slide"
+ };
+
+ int i;
+ for (i = 0; i < 5; ++i) {
+ gtk_range_set_update_policy (GTK_RANGE (WID (range_names[i])), GTK_UPDATE_DISCONTINUOUS);
+ }
+#endif
}
diff --git a/capplets/keyboard/mate-keyboard-properties.c b/capplets/keyboard/mate-keyboard-properties.c
index 667c55cd..a5810e71 100644
--- a/capplets/keyboard/mate-keyboard-properties.c
+++ b/capplets/keyboard/mate-keyboard-properties.c
@@ -186,6 +186,10 @@ setup_dialog (GtkBuilder * dialog)
gtk_notebook_remove_page (nb, tb_page);
}
+#if !GTK_CHECK_VERSION (3, 0, 0)
+ gtk_range_set_update_policy (GTK_RANGE (WID ("cursor_blink_time_scale")), GTK_UPDATE_DISCONTINUOUS);
+#endif
+
g_signal_connect (WID ("keyboard_dialog"), "response",
(GCallback) dialog_response, NULL);