make disable cursor inverted logically in the ui (makes more sense)

SVN revision: 73951
This commit is contained in:
Carsten Haitzler 2012-07-17 07:46:01 +00:00
parent 2307203d49
commit b2d5d19c80
1 changed files with 3 additions and 3 deletions

View File

@ -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",