summaryrefslogtreecommitdiff
path: root/capplets/keyboard/mate-keyboard-properties.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-12-24 13:47:44 +0300
committerMonsta <[email protected]>2014-12-24 13:47:44 +0300
commite264b67abd96f42fa77347e44a00afb174720619 (patch)
treef6018c68ecfb3f60f8f74e2c498f4ee0b57c2319 /capplets/keyboard/mate-keyboard-properties.c
parent6e206e57b0be2d878afcf0ae213206c16a44161e (diff)
downloadmate-control-center-e264b67abd96f42fa77347e44a00afb174720619.tar.bz2
mate-control-center-e264b67abd96f42fa77347e44a00afb174720619.tar.xz
set update_policy in the code for GTK+2 build
Diffstat (limited to 'capplets/keyboard/mate-keyboard-properties.c')
-rw-r--r--capplets/keyboard/mate-keyboard-properties.c4
1 files changed, 4 insertions, 0 deletions
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);