itc->func.del = _gl_del_cb;
Elm_Object_Item *it = NULL;
+ char temp[256] = {'\0',};
pg_item_data_s *item = calloc(sizeof(pg_item_data_s), 1);
item->index = 0;
- item->label = strdup("<font color=#A9A9A9FF>No Package</font>");
+ snprintf(temp, sizeof(temp), "<font color=#A9A9A9FF>No apps using %s privacy.</font>", ad->privacy);
+ item->label = strdup(temp);
// append to the genlist
it = elm_genlist_item_append(genlist, itc, item, NULL, ELM_GENLIST_ITEM_NONE, _privacy_package_selected_cb, item);