summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-07 12:59:41 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-02-07 12:59:41 -0500
commitf1ad9d74677d50f265d33aeb2d164d1f9215d06f (patch)
tree0afbde4324eee6d3538969ba7d7119eb16440518
parent9e3707f0b41e09d6171a26631bdb77dc84889e52 (diff)
efl_ui_text: s/ELM_SEL_FORMAT_IMAGE/EFL_UI_SELECTION_FORMAT_IMAGE/g
Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Differential Revision: https://phab.enlightenment.org/D7894
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_text.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c
index 806c2b44b7..92b84f1b02 100644
--- a/src/lib/elementary/efl_ui_text.c
+++ b/src/lib/elementary/efl_ui_text.c
@@ -691,7 +691,7 @@ _get_drop_format(Evas_Object *obj)
691 EFL_UI_TEXT_DATA_GET(obj, sd); 691 EFL_UI_TEXT_DATA_GET(obj, sd);
692 692
693 if ((sd->editable) && (!sd->single_line) && (!sd->password) && (!sd->disabled)) 693 if ((sd->editable) && (!sd->single_line) && (!sd->password) && (!sd->disabled))
694 return EFL_UI_SELECTION_FORMAT_MARKUP | ELM_SEL_FORMAT_IMAGE; 694 return EFL_UI_SELECTION_FORMAT_MARKUP | EFL_UI_SELECTION_FORMAT_IMAGE;
695 return EFL_UI_SELECTION_FORMAT_MARKUP; 695 return EFL_UI_SELECTION_FORMAT_MARKUP;
696} 696}
697 697
@@ -2142,7 +2142,7 @@ _efl_ui_text_efl_object_constructor(Eo *obj, Efl_Ui_Text_Data *sd)
2142 sd->auto_save = EINA_TRUE; 2142 sd->auto_save = EINA_TRUE;
2143 sd->editable = EINA_TRUE; 2143 sd->editable = EINA_TRUE;
2144 sd->sel_allow = EINA_TRUE; 2144 sd->sel_allow = EINA_TRUE;
2145 sd->drop_format = EFL_UI_SELECTION_FORMAT_MARKUP | ELM_SEL_FORMAT_IMAGE; 2145 sd->drop_format = EFL_UI_SELECTION_FORMAT_MARKUP | EFL_UI_SELECTION_FORMAT_IMAGE;
2146 sd->last.scroll = EINA_SIZE2D(0, 0); 2146 sd->last.scroll = EINA_SIZE2D(0, 0);
2147 sd->sel_handler_disabled = EINA_TRUE; 2147 sd->sel_handler_disabled = EINA_TRUE;
2148 2148
@@ -2565,7 +2565,7 @@ _efl_ui_text_cnp_mode_set(Eo *obj, Efl_Ui_Text_Data *sd, Efl_Ui_Selection_Format
2565 if (sd->cnp_mode == EFL_UI_SELECTION_FORMAT_TEXT) 2565 if (sd->cnp_mode == EFL_UI_SELECTION_FORMAT_TEXT)
2566 dnd_format = EFL_UI_SELECTION_FORMAT_TEXT; 2566 dnd_format = EFL_UI_SELECTION_FORMAT_TEXT;
2567 else if (cnp_mode == EFL_UI_SELECTION_FORMAT_IMAGE) 2567 else if (cnp_mode == EFL_UI_SELECTION_FORMAT_IMAGE)
2568 dnd_format |= ELM_SEL_FORMAT_IMAGE; 2568 dnd_format |= EFL_UI_SELECTION_FORMAT_IMAGE;
2569 2569
2570 elm_drop_target_del(obj, sd->drop_format, 2570 elm_drop_target_del(obj, sd->drop_format,
2571 _dnd_enter_cb, NULL, 2571 _dnd_enter_cb, NULL,