diff --git a/src/lib/efl/interfaces/efl_text_style.eo b/src/lib/efl/interfaces/efl_text_style.eo index 17c209e01d..9fdd1e05f2 100644 --- a/src/lib/efl/interfaces/efl_text_style.eo +++ b/src/lib/efl/interfaces/efl_text_style.eo @@ -2,7 +2,7 @@ enum @beta Efl.Text_Style_Background_Type { [[Whether to add a background colored rectangle (background) to each line of text or not.]] disabled = 0, [[Do not use background.]] - enabled, [[Use background.]] + solid_color, [[Use solid color background.]] } @@ -10,7 +10,7 @@ enum @beta Efl.Text_Style_Strikethrough_Type { [[Whether to add a strike-through decoration to the displayed text or not.]] disabled = 0, [[Do not use strike-through.]] - enabled, [[Use strike-through.]] + solid_color, [[Use solid color strike-through.]] } diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c index 9e9c43f259..6ade455ddc 100644 --- a/src/tests/evas/evas_test_textblock.c +++ b/src/tests/evas/evas_test_textblock.c @@ -4908,7 +4908,7 @@ EFL_START_TEST(efl_canvas_textblock_style) ck_assert_int_eq(efl_text_wrap_get(txt), EFL_TEXT_FORMAT_WRAP_NONE); efl_canvas_textblock_style_apply(txt, "backing=on"); - ck_assert_int_eq(efl_text_background_type_get(txt), EFL_TEXT_STYLE_BACKGROUND_TYPE_ENABLED); + ck_assert_int_eq(efl_text_background_type_get(txt), EFL_TEXT_STYLE_BACKGROUND_TYPE_SOLID_COLOR); efl_canvas_textblock_style_apply(txt, "style=far_soft_shadow"); ck_assert_int_eq(efl_text_effect_type_get(txt), EFL_TEXT_STYLE_EFFECT_TYPE_FAR_SOFT_SHADOW);