summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Alzyod <ali198724@gmail.com>2020-01-16 10:19:08 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-01-16 16:36:42 +0100
commite92ee40b2f73b5860efd20b31bc1501273e7cf8a (patch)
tree11a3a5e296c57dfecb5209b53866963d16bbc923
parent250c7bd30dc8aab54047e4d1fac480c17565b922 (diff)
efl.ui.textbox: update _part_is_efl_ui_textbox_part
efl.ui.textbox: update _part_is_efl_ui_textbox_part Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11109
-rw-r--r--src/lib/elementary/efl_ui_textbox.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_textbox.c b/src/lib/elementary/efl_ui_textbox.c
index 79796977a3..b72521b8f3 100644
--- a/src/lib/elementary/efl_ui_textbox.c
+++ b/src/lib/elementary/efl_ui_textbox.c
@@ -3551,11 +3551,10 @@ _efl_ui_textbox_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Textbox_Data *pd,
3551static Eina_Bool 3551static Eina_Bool
3552_part_is_efl_ui_textbox_part(const Eo *obj EINA_UNUSED, const char *part) 3552_part_is_efl_ui_textbox_part(const Eo *obj EINA_UNUSED, const char *part)
3553{ 3553{
3554 //Use Efl.Ui.Widget's "background" and "shadow" parts 3554 if (eina_streq(part, "efl.text_guide") || eina_streq(part, "efl.text"))
3555 if (eina_streq(part, "background") || eina_streq(part, "shadow")) 3555 return EINA_TRUE;
3556 return EINA_FALSE;
3557 3556
3558 return EINA_TRUE; 3557 return EINA_FALSE;
3559} 3558}
3560 3559
3561ELM_PART_OVERRIDE_PARTIAL(efl_ui_textbox, EFL_UI_TEXTBOX, Efl_Ui_Textbox_Data, _part_is_efl_ui_textbox_part) 3560ELM_PART_OVERRIDE_PARTIAL(efl_ui_textbox, EFL_UI_TEXTBOX, Efl_Ui_Textbox_Data, _part_is_efl_ui_textbox_part)