summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-10-01 22:43:05 +0200
committerBoris Faure <billiob@gmail.com>2019-10-01 22:43:05 +0200
commitfe63070139a697df54e2a8d096d51dc9efd1323d (patch)
treeebd1682f3d4c4f60ab3dfe9f50108371b89262a9 /src
parent61bb7955dafc82a28f9c90e13bf1d8c3c746f32c (diff)
options_behavior: disable "hide cursor"'s slider when needed
Diffstat (limited to 'src')
-rw-r--r--src/bin/options_behavior.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/options_behavior.c b/src/bin/options_behavior.c
index 7216472..524ecc7 100644
--- a/src/bin/options_behavior.c
+++ b/src/bin/options_behavior.c
@@ -644,6 +644,7 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
644 elm_slider_unit_format_set(o, _("%1.1f s")); 644 elm_slider_unit_format_set(o, _("%1.1f s"));
645 elm_slider_indicator_format_set(o, _("%1.1f s")); 645 elm_slider_indicator_format_set(o, _("%1.1f s"));
646 elm_slider_min_max_set(o, 0.0, CONFIG_CURSOR_IDLE_TIMEOUT_MAX); 646 elm_slider_min_max_set(o, 0.0, CONFIG_CURSOR_IDLE_TIMEOUT_MAX);
647 elm_object_disabled_set(o, config->hide_cursor >= CONFIG_CURSOR_IDLE_TIMEOUT_MAX);
647 elm_slider_value_set(o, config->hide_cursor); 648 elm_slider_value_set(o, config->hide_cursor);
648 elm_box_pack_end(bx, o); 649 elm_box_pack_end(bx, o);
649 evas_object_show(o); 650 evas_object_show(o);