fix the layout of uninstall progressbar
authorEunmi Son <eunmi.son@samsung.com>
Wed, 5 Sep 2012 14:08:41 +0000 (23:08 +0900)
committerEunmi Son <eunmi.son@samsung.com>
Wed, 5 Sep 2012 14:08:41 +0000 (23:08 +0900)
Change-Id: Ifd7ff977552bd5eda001ccbf308dda10874457f7

packaging/ug-setting-manage-applications-efl.spec
view/src/mgr-app-view-app-list.c

index 44e5ffe..58811dc 100644 (file)
@@ -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
index 52866b8..b32736b 100755 (executable)
@@ -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);\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();