diff options
-rw-r--r-- | src/lib/edje/edje_part_text.c | 2 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_text_style.eo | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/edje/edje_part_text.c b/src/lib/edje/edje_part_text.c index 4c3e09161a..5b61a54aa3 100644 --- a/src/lib/edje/edje_part_text.c +++ b/src/lib/edje/edje_part_text.c | |||
@@ -63,7 +63,7 @@ _efl_canvas_layout_part_text_efl_text_style_text_background_type_get(const Eo *o | |||
63 | 63 | ||
64 | PROXY_DATA_GET(obj, pd); | 64 | PROXY_DATA_GET(obj, pd); |
65 | if (pd->rp->part->type == EDJE_PART_TYPE_TEXT) | 65 | if (pd->rp->part->type == EDJE_PART_TYPE_TEXT) |
66 | return EFL_TEXT_STYLE_BACKGROUND_TYPE_DISABLED; | 66 | return EFL_TEXT_STYLE_BACKGROUND_TYPE_NONE; |
67 | 67 | ||
68 | return efl_text_background_type_get(pd->rp->object); | 68 | return efl_text_background_type_get(pd->rp->object); |
69 | } | 69 | } |
diff --git a/src/lib/efl/interfaces/efl_text_style.eo b/src/lib/efl/interfaces/efl_text_style.eo index 9fdd1e05f2..7ecd7afeb4 100644 --- a/src/lib/efl/interfaces/efl_text_style.eo +++ b/src/lib/efl/interfaces/efl_text_style.eo | |||
@@ -1,7 +1,7 @@ | |||
1 | enum @beta Efl.Text_Style_Background_Type | 1 | enum @beta Efl.Text_Style_Background_Type |
2 | { | 2 | { |
3 | [[Whether to add a background colored rectangle (background) to each line of text or not.]] | 3 | [[Whether to add a background colored rectangle (background) to each line of text or not.]] |
4 | disabled = 0, [[Do not use background.]] | 4 | none = 0, [[Do not use background.]] |
5 | solid_color, [[Use solid color background.]] | 5 | solid_color, [[Use solid color background.]] |
6 | 6 | ||
7 | } | 7 | } |
@@ -9,8 +9,8 @@ enum @beta Efl.Text_Style_Background_Type | |||
9 | enum @beta Efl.Text_Style_Strikethrough_Type | 9 | enum @beta Efl.Text_Style_Strikethrough_Type |
10 | { | 10 | { |
11 | [[Whether to add a strike-through decoration to the displayed text or not.]] | 11 | [[Whether to add a strike-through decoration to the displayed text or not.]] |
12 | disabled = 0, [[Do not use strike-through.]] | 12 | none = 0, [[Do not use strike-through.]] |
13 | solid_color, [[Use solid color strike-through.]] | 13 | single, [[Strikethrough with a single line.]] |
14 | 14 | ||
15 | } | 15 | } |
16 | 16 | ||