static void _pkginfo_append_storage(SettingAppMgr *ad);
static void _pkginfo_append_cache(SettingAppMgr *ad);
static void _pkginfo_append_default(SettingAppMgr *ad);
-static void _pkginfo_append_web_settings(SettingAppMgr *ad);
static void _pkginfo_append_privilege(SettingAppMgr *ad);
static int appmgr_pkg_create(void *data);
const char *part);
static char *pkginfo_clear_default_text_get(void *data, Evas_Object *obj,
const char *part);
-static char *pkginfo_website_settings_text_get(void *data, Evas_Object *obj,
- const char *part);
static char *pkginfo_total_size_text_get(void *data, Evas_Object *obj,
const char *part);
static char *pkginfo_app_size_text_get(void *data, Evas_Object *obj,
static Elm_Genlist_Item_Class itc_move_to_sd = {0};
static Elm_Genlist_Item_Class itc_clear_cache = {0};
static Elm_Genlist_Item_Class itc_clear_default = {0};
-static Elm_Genlist_Item_Class itc_website_settings = {0};
static Elm_Genlist_Item_Class itc_total_size_item = {0};
static Elm_Genlist_Item_Class itc_app_size_item = {0};
static Elm_Genlist_Item_Class itc_data_size_item = {0};
_clear_default_cb, ad);
}
-static void _pkginfo_append_web_settings(SettingAppMgr *ad)
-{
- Elm_Object_Item *tmp_item = NULL;
- setting_create_Gendial_field_titleItem(ad->package_info_gl,
- &(ad->itc_grp_title),
- _("Web app"), NULL);
- tmp_item = elm_genlist_item_append(ad->package_info_gl,
- &itc_website_settings, NULL, NULL,
- ELM_GENLIST_ITEM_NONE, NULL, NULL);
- elm_genlist_item_select_mode_set(tmp_item,
- ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
-}
-
static void _pkginfo_append_privilege(SettingAppMgr *ad)
{
int ret = 0;
if (ad->selected_pkg.is_default)
_pkginfo_append_default(ad);
- if (ad->selected_pkg.is_webapp)
- _pkginfo_append_web_settings(ad);
-
_pkginfo_append_privilege(ad);
}
itc_clear_cache.func.text_get = pkginfo_clear_cache_text_get;
itc_clear_default.item_style = "type1";
itc_clear_default.func.text_get = pkginfo_clear_default_text_get;
- itc_website_settings.item_style = "type1";
- itc_website_settings.func.text_get = pkginfo_website_settings_text_get;
itc_total_size_item.item_style = "type1";
itc_total_size_item.func.text_get = pkginfo_total_size_text_get;
itc_app_size_item.item_style = "type1";
return NULL;
}
-static char *pkginfo_website_settings_text_get(void *data, Evas_Object *obj,
- const char *part)
-{
- if (!strcmp(part, "elm.text"))
- return SAFE_STRDUP(_(IDS_BR_BODY_WEBSITE_SETTINGS));
-
- return NULL;
-}
-
static char *pkginfo_total_size_text_get(void *data, Evas_Object *obj,
const char *part)
{