fix UC for kantM 83/162283/1 accepted/tizen/unified/20171130.063451 submit/tizen/20171130.003750
authorjomui <jongmun.woo@samsung.com>
Thu, 30 Nov 2017 06:16:29 +0000 (15:16 +0900)
committerjomui <jongmun.woo@samsung.com>
Thu, 30 Nov 2017 06:16:49 +0000 (15:16 +0900)
Signed-off-by: jomui <jongmun.woo@samsung.com>
Change-Id: Ic85bdbeb8d3d024e6d52a2cb278b53a839132b9d

heremaps-uc/src/heremaps-uc.c

index a10dae1..38a02dc 100644 (file)
@@ -190,31 +190,18 @@ static Evas_Object *create_popup_tv(Evas_Object *layout, heremaps_uc_app_data *a
        LS_FUNC_ENTER
 
        /* popup */
-       Evas_Object *popup = elm_popup_add(layout);
+       Evas_Object *popup = elm_popup_add(ad->win_main);
        eext_object_event_callback_add(popup, EEXT_CALLBACK_BACK, back_btn_cb, ad);
        evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
        elm_object_part_text_set(popup, "title,text", P_("IDS_POSITIONING_CONSENT_TITLE"));
 
-       Evas_Object *box = elm_box_add(popup);
-       elm_box_align_set(box, 0.5, 0);
-       elm_object_part_content_set(popup, "elm.swallow.content", box);
-       evas_object_show(box);
-
        char buf[4096] = {0};
        char *str1 = P_("IDS_POSITIONING_CONSENT_BODY");
        char *str2 = "<color=#006fd1ff underline=on underline_color=#006fd1ff><a href=http://here.com/terms/service-terms>http://here.com/terms/service-terms</a></color>";
        char *str3 = "<color=#006fd1ff underline=on underline_color=#006fd1ff><a href=http://here.com/privacy/privacy-policy>http://here.com/privacy/privacy-policy</a></color>";
        snprintf(buf, 4096, str1, str2, str3);
        char *text = strdup(buf);
-
-       Evas_Object *entry = elm_entry_add(box);
-       evas_object_size_hint_weight_set(entry, EVAS_HINT_EXPAND, 0.0);
-       evas_object_size_hint_align_set(entry, EVAS_HINT_FILL, EVAS_HINT_FILL);
-       elm_entry_editable_set(entry, EINA_FALSE);
-       elm_object_part_text_set(entry, "elm.text", text);
-       elm_entry_text_style_user_push(entry, "DEFAULT='align=center'");
-       elm_box_pack_end(box, entry);
-       evas_object_show(entry);
+       elm_object_text_set(popup, text);
 
        /* Disagree button */
        Evas_Object *disagree_btn = elm_button_add(popup);