Evas_Object *layout = NULL;
Evas_Object *progressbar = NULL;
- popup = elm_popup_add(ugd->win_main);
-
- layout = mgr_app_create_layout(popup, "layout", "application", "default");
- ret_if(layout == NULL);
+ popup = elm_popup_add(ugd->win_main);\r
+ ret_if(popup == NULL);
progressbar = elm_progressbar_add(popup);
+ ret_if(progressbar == NULL);
elm_object_style_set(progressbar, "list_process");
evas_object_size_hint_align_set(progressbar, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(progressbar, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_progressbar_pulse(progressbar, EINA_TRUE);
evas_object_show(progressbar);
- elm_object_part_content_set(layout, "elm.swallow.content", progressbar);
-
elm_object_part_text_set(popup, "title,text", dgettext(PACKAGE, "IDS_ST_POP_UNINSTALLING_ING"));
elm_popup_timeout_set(popup, 1.0);
- elm_object_content_set(popup, layout);
+ elm_object_content_set(popup, progressbar);
evas_object_show(popup);
MGR_APP_END();