summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_spin_button.c
diff options
context:
space:
mode:
authorTaehyub Kim <taehyub.kim@samsung.com>2018-04-26 19:27:43 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2018-04-26 19:41:03 +0900
commit6e49db0739c38a378c48c6c880f5b41c986ee1e9 (patch)
tree6775b150d15eb99bd9e568565ed67cddcc52a549 /src/lib/elementary/efl_ui_spin_button.c
parent473e657120ffd9626b6ee8832c75f2f66c9a5351 (diff)
efl theme: remove the elm legacy name of efl ui theme
Summary: remove the elm legacy name of efl ui theme Test Plan: run elementary_test and test efl ui widget cases Reviewers: Jaehyun_Cho, woohyun, cedric, raster, jpeg Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5934
Diffstat (limited to 'src/lib/elementary/efl_ui_spin_button.c')
-rw-r--r--src/lib/elementary/efl_ui_spin_button.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c
index bb0e903..2a37bce 100644
--- a/src/lib/elementary/efl_ui_spin_button.c
+++ b/src/lib/elementary/efl_ui_spin_button.c
@@ -366,7 +366,7 @@ _toggle_entry(Evas_Object *obj)
366 evas_object_event_callback_add 366 evas_object_event_callback_add
367 (sd->ent, EVAS_CALLBACK_SHOW, _entry_show_cb, obj); 367 (sd->ent, EVAS_CALLBACK_SHOW, _entry_show_cb, obj);
368 elm_entry_single_line_set(sd->ent, EINA_TRUE); 368 elm_entry_single_line_set(sd->ent, EINA_TRUE);
369 elm_layout_content_set(obj, "elm.swallow.entry", sd->ent); 369 elm_layout_content_set(obj, "efl.entry", sd->ent);
370 _entry_accept_filter_add(obj); 370 _entry_accept_filter_add(obj);
371 elm_entry_markup_filter_append(sd->ent, _invalid_input_validity_filter, NULL); 371 elm_entry_markup_filter_append(sd->ent, _invalid_input_validity_filter, NULL);
372 if (_elm_config->spinner_min_max_filter_enable) 372 if (_elm_config->spinner_min_max_filter_enable)
@@ -757,7 +757,7 @@ _efl_ui_spin_button_efl_object_constructor(Eo *obj, Efl_Ui_Spin_Button_Data *sd)
757 sd->inc_button = efl_add(EFL_UI_BUTTON_CLASS, obj, 757 sd->inc_button = efl_add(EFL_UI_BUTTON_CLASS, obj,
758 elm_widget_element_update(obj, efl_added, PART_NAME_INC_BUTTON), 758 elm_widget_element_update(obj, efl_added, PART_NAME_INC_BUTTON),
759 efl_event_callback_array_add(efl_added, _inc_dec_button_cb(), obj), 759 efl_event_callback_array_add(efl_added, _inc_dec_button_cb(), obj),
760 efl_content_set(efl_part(obj, "elm.swallow.inc_button"), efl_added)); 760 efl_content_set(efl_part(obj, "efl.inc_button"), efl_added));
761 761
762 sd->text_button = efl_add(EFL_UI_BUTTON_CLASS, obj, 762 sd->text_button = efl_add(EFL_UI_BUTTON_CLASS, obj,
763 elm_widget_element_update(obj, efl_added, PART_NAME_TEXT_BUTTON), 763 elm_widget_element_update(obj, efl_added, PART_NAME_TEXT_BUTTON),
@@ -765,12 +765,12 @@ _efl_ui_spin_button_efl_object_constructor(Eo *obj, Efl_Ui_Spin_Button_Data *sd)
765 _text_button_clicked_cb, obj), 765 _text_button_clicked_cb, obj),
766 efl_event_callback_add(efl_added, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED, 766 efl_event_callback_add(efl_added, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED,
767 _text_button_focus_changed_cb, obj), 767 _text_button_focus_changed_cb, obj),
768 efl_content_set(efl_part(obj, "elm.swallow.text_button"), efl_added)); 768 efl_content_set(efl_part(obj, "efl.text_button"), efl_added));
769 769
770 sd->dec_button = efl_add(EFL_UI_BUTTON_CLASS, obj, 770 sd->dec_button = efl_add(EFL_UI_BUTTON_CLASS, obj,
771 elm_widget_element_update(obj, efl_added, PART_NAME_DEC_BUTTON), 771 elm_widget_element_update(obj, efl_added, PART_NAME_DEC_BUTTON),
772 efl_event_callback_array_add(efl_added, _inc_dec_button_cb(), obj), 772 efl_event_callback_array_add(efl_added, _inc_dec_button_cb(), obj),
773 efl_content_set(efl_part(obj, "elm.swallow.dec_button"), efl_added)); 773 efl_content_set(efl_part(obj, "efl.dec_button"), efl_added));
774 774
775 { 775 {
776 Eina_List *items = NULL; 776 Eina_List *items = NULL;
@@ -883,7 +883,7 @@ _efl_ui_spin_button_efl_access_object_i18n_name_get(const Eo *obj, Efl_Ui_Spin_B
883 const char *name; 883 const char *name;
884 name = efl_access_object_i18n_name_get(efl_super(obj, EFL_UI_SPIN_BUTTON_CLASS)); 884 name = efl_access_object_i18n_name_get(efl_super(obj, EFL_UI_SPIN_BUTTON_CLASS));
885 if (name) return name; 885 if (name) return name;
886 const char *ret = elm_layout_text_get(obj, "elm.text"); 886 const char *ret = elm_layout_text_get(obj, "efl.text");
887 return ret; 887 return ret;
888} 888}
889 889