From 99ab796e190c826928496dda99ba83617e05a0ce Mon Sep 17 00:00:00 2001 From: raster Date: Tue, 17 Jul 2012 07:46:01 +0000 Subject: [PATCH] make disable cursor inverted logically in the ui (makes more sense) git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@73951 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/options_behavior.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/options_behavior.c b/src/bin/options_behavior.c index 399721f..22bc042 100644 --- a/src/bin/options_behavior.c +++ b/src/bin/options_behavior.c @@ -34,7 +34,7 @@ _cb_op_behavior_cursor_blink_chg(void *data, Evas_Object *obj, void *event __UNU { Evas_Object *term = data; Config *config = termio_config_get(term); - config->disable_cursor_blink = elm_check_state_get(obj); + config->disable_cursor_blink = !elm_check_state_get(obj); termio_config_update(term); config_save(config, NULL); } @@ -144,8 +144,8 @@ options_behavior(Evas_Object *opbox, Evas_Object *term) o = elm_check_add(bx); evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5); - elm_object_text_set(o, "Disable cursor blinking"); - elm_check_state_set(o, config->disable_cursor_blink); + elm_object_text_set(o, "Cursor blinking"); + elm_check_state_set(o, !config->disable_cursor_blink); elm_box_pack_end(bx, o); evas_object_show(o); evas_object_smart_callback_add(o, "changed", -- 2.7.4