diff options
author | Carsten Haitzler <raster@rasterman.com> | 2012-07-17 07:46:01 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2012-07-17 07:46:01 +0000 |
commit | b2d5d19c806c62b480fcc083d7552a039ede269b (patch) | |
tree | 719df12a80037b5d703519a3b1722692e731f36a /src | |
parent | 2307203d491fbbf082733bb40b6987746865198c (diff) |
make disable cursor inverted logically in the ui (makes more sense)
SVN revision: 73951
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/options_behavior.c | 6 |
1 files 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 | |||
34 | { | 34 | { |
35 | Evas_Object *term = data; | 35 | Evas_Object *term = data; |
36 | Config *config = termio_config_get(term); | 36 | Config *config = termio_config_get(term); |
37 | config->disable_cursor_blink = elm_check_state_get(obj); | 37 | config->disable_cursor_blink = !elm_check_state_get(obj); |
38 | termio_config_update(term); | 38 | termio_config_update(term); |
39 | config_save(config, NULL); | 39 | config_save(config, NULL); |
40 | } | 40 | } |
@@ -144,8 +144,8 @@ options_behavior(Evas_Object *opbox, Evas_Object *term) | |||
144 | o = elm_check_add(bx); | 144 | o = elm_check_add(bx); |
145 | evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0); | 145 | evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0); |
146 | evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5); | 146 | evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5); |
147 | elm_object_text_set(o, "Disable cursor blinking"); | 147 | elm_object_text_set(o, "Cursor blinking"); |
148 | elm_check_state_set(o, config->disable_cursor_blink); | 148 | elm_check_state_set(o, !config->disable_cursor_blink); |
149 | elm_box_pack_end(bx, o); | 149 | elm_box_pack_end(bx, o); |
150 | evas_object_show(o); | 150 | evas_object_show(o); |
151 | evas_object_smart_callback_add(o, "changed", | 151 | evas_object_smart_callback_add(o, "changed", |