fix N_SE-8504. change popup's parent window
[apps/core/preloaded/message-app.git] / thread / src / msg-ui-thread-util.c
index 1ed004f..8d33dab 100755 (executable)
@@ -549,8 +549,9 @@ void msg_ui_thread_show_del_popup(PMSG_THREAD_LIST_DATA pListData, const char *m
        Evas_Object *popup;
        Evas_Object *btn_ok;
        Evas_Object *btn_cancel;
+       PMSG_THREAD_DATA pData = msg_ui_thread_get_data();
 
-       popup = elm_popup_add(pListData->content_ly);
+       popup = elm_popup_add(pData->navi_frame);
 
        evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
        elm_object_text_set(popup, msg);
@@ -661,8 +662,9 @@ Evas_Object* msg_ui_thread_show_notify_with_progressbar(PMSG_THREAD_LIST_DATA pL
 
        Evas_Object *popup, *progressbar, *box, *label;
        char buf[DEF_BUF_LEN_S] = {0,};
+       PMSG_THREAD_DATA pData = msg_ui_thread_get_data();
 
-       popup = elm_popup_add(pListData->content_ly);
+       popup = elm_popup_add(pData->navi_frame);
 
        label = elm_label_add(popup);
        snprintf(buf, sizeof(buf), "0/%d %s", count, dgettext("sys_string", "IDS_COM_POP_DELETED"));