forked from enlightenment/terminology
config: correctly display "bell_rings"
This commit is contained in:
parent
b4321a896c
commit
4362049175
|
@ -96,8 +96,6 @@ config_init(void)
|
|||
(edd_base, Config, "disable_cursor_blink", disable_cursor_blink, EET_T_UCHAR);
|
||||
EET_DATA_DESCRIPTOR_ADD_BASIC
|
||||
(edd_base, Config, "disable_visual_bell", disable_visual_bell, EET_T_UCHAR);
|
||||
EET_DATA_DESCRIPTOR_ADD_BASIC
|
||||
(edd_base, Config, "bell_rings", bell_rings, EET_T_UCHAR);
|
||||
EET_DATA_DESCRIPTOR_ADD_BASIC
|
||||
(edd_base, Config, "active_links", active_links, EET_T_UCHAR);
|
||||
EET_DATA_DESCRIPTOR_ADD_BASIC
|
||||
|
@ -134,6 +132,8 @@ config_init(void)
|
|||
(edd_base, Config, "colors_use", colors_use, EET_T_UCHAR);
|
||||
EET_DATA_DESCRIPTOR_ADD_ARRAY
|
||||
(edd_base, Config, "colors", colors, edd_color);
|
||||
EET_DATA_DESCRIPTOR_ADD_BASIC
|
||||
(edd_base, Config, "bell_rings", bell_rings, EET_T_UCHAR);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -372,7 +372,7 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
|
|||
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, "Bell rings");
|
||||
elm_check_state_set(o, !config->bell_rings);
|
||||
elm_check_state_set(o, config->bell_rings);
|
||||
elm_box_pack_end(bx, o);
|
||||
evas_object_show(o);
|
||||
evas_object_smart_callback_add(o, "changed",
|
||||
|
|
Loading…
Reference in New Issue