diff options
author | YeongJong Lee <yj34.lee@samsung.com> | 2018-05-28 12:57:00 +0900 |
---|---|---|
committer | Jaehyun Cho <jae_hyun.cho@samsung.com> | 2018-05-28 12:57:00 +0900 |
commit | cf9d396d820f4aeef81948866ac7c4ba5f6f53d5 (patch) | |
tree | 5870cda0a8115e0348ab949beca30bc54600c72d | |
parent | 060e62061d030d0e3b69b315efb11e61baa6c064 (diff) | |
download | efl-cf9d396d820f4aeef81948866ac7c4ba5f6f53d5.tar.gz |
efl_ui_popup: use "elm.swallow.content" name instead of "default" for scroller
Summary:
efl_part don't support legacy aliases.
ref 495edbd9958ff077e44a62bf83f1a9032875f423
Test Plan:
1. elementary_test -to 'efl.ui.popup.alert.text'
2. elementary_test -to 'efl.ui.popup.alert.scroll'
Reviewers: Jaehyun_Cho, herb
Reviewed By: Jaehyun_Cho
Subscribers: stefan_schmidt, cedric, #committers, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6192
-rw-r--r-- | src/lib/elementary/efl_ui_popup_alert_scroll.c | 4 | ||||
-rw-r--r-- | src/lib/elementary/efl_ui_popup_alert_text.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_popup_alert_scroll.c b/src/lib/elementary/efl_ui_popup_alert_scroll.c index 8c1f26c4d0..90ca58f838 100644 --- a/src/lib/elementary/efl_ui_popup_alert_scroll.c +++ b/src/lib/elementary/efl_ui_popup_alert_scroll.c @@ -163,7 +163,7 @@ _efl_ui_popup_alert_scroll_content_set(Eo *obj, Efl_Ui_Popup_Alert_Scroll_Data * efl_gfx_size_hint_weight_set(pd->content, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); efl_gfx_size_hint_align_set(pd->content, EVAS_HINT_FILL, EVAS_HINT_FILL); - efl_content_set(efl_part(pd->scroller, "default"), pd->content); + efl_content_set(pd->scroller, pd->content); } else { @@ -194,7 +194,7 @@ _efl_ui_popup_alert_scroll_content_unset(Eo *obj, Efl_Ui_Popup_Alert_Scroll_Data pd->content = NULL; - return efl_content_unset(efl_part(pd->scroller, "default")); + return efl_content_unset(pd->scroller); } return efl_content_unset(efl_part(efl_super(obj, MY_CLASS), part)); diff --git a/src/lib/elementary/efl_ui_popup_alert_text.c b/src/lib/elementary/efl_ui_popup_alert_text.c index 5912c14f77..3e74a5ab62 100644 --- a/src/lib/elementary/efl_ui_popup_alert_text.c +++ b/src/lib/elementary/efl_ui_popup_alert_text.c @@ -200,7 +200,7 @@ _efl_ui_popup_alert_text_text_set(Eo *obj, Efl_Ui_Popup_Alert_Text_Data *pd, con //elm_widget_element_update(obj, pd->message, PART_NAME_TEXT); efl_gfx_size_hint_weight_set(pd->message, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - efl_content_set(efl_part(pd->scroller, "default"), pd->message); + efl_content_set(pd->scroller, pd->message); } elm_object_text_set(pd->message, label); elm_layout_sizing_eval(obj); |