From 75796d5029ffcd49486061f06e8bb0957e9918b0 Mon Sep 17 00:00:00 2001 From: Eunmi Son Date: Wed, 5 Sep 2012 23:08:41 +0900 Subject: [PATCH] fix the layout of uninstall progressbar Change-Id: Ifd7ff977552bd5eda001ccbf308dda10874457f7 --- packaging/ug-setting-manage-applications-efl.spec | 2 +- view/src/mgr-app-view-app-list.c | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/packaging/ug-setting-manage-applications-efl.spec b/packaging/ug-setting-manage-applications-efl.spec index 44e5ffe..58811dc 100644 --- a/packaging/ug-setting-manage-applications-efl.spec +++ b/packaging/ug-setting-manage-applications-efl.spec @@ -4,7 +4,7 @@ Name: ug-setting-manage-applications-efl Summary: Manage Application package -Version: 0.0.22 +Version: 0.0.24 Release: 0 Group: TO_BE/FILLED_IN License: Flora Software License diff --git a/view/src/mgr-app-view-app-list.c b/view/src/mgr-app-view-app-list.c index 52866b8..b32736b 100755 --- a/view/src/mgr-app-view-app-list.c +++ b/view/src/mgr-app-view-app-list.c @@ -386,23 +386,20 @@ static void _popup_progressbar_by_uninstall(void *data) 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); + 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(); -- 2.7.4