/* genlist */
genlist = elm_genlist_add(box);
- itc.item_style = "1line";;
+ itc.item_style = "type1";
itc.func.text_get = gl_text_get_cb;
itc.func.content_get = NULL;
itc.func.state_get = NULL;
}
if (!strcmp(part, "elm.swallow.end")) {
- if (data_list->item_style == ITEM_STYLE_ONE_LINE) {
+ if (data_list->item_style == ITEM_STYLE_TYPE_ONE) {
content = elm_check_add(obj);
elm_object_style_set(content, "on&off");
elm_check_state_set(content, data_list->allow_to_notify);
char *before_text = NULL;
int count = 0;
- if (style == ITEM_STYLE_ONE_LINE){
- itc->item_style = "1line";
+ if (style == ITEM_STYLE_TYPE_ONE){
+ itc->item_style = "type1";
} else if(style == ITEM_STYLE_ONE_ICON){
itc->item_style = "one_icon";
} else {
if (!itc)
return NULL;
- itc->item_style = "1line";
+ itc->item_style = "type1";
itc->func.text_get = _gl_app_notif_allow_all_text_get_cb;
itc->func.content_get = _gl_app_notif_allow_all_content_get_cb;
itc->func.del = gl_del_cb;
append_gl_allow_all(genlist);
append_gl_start_option(genlist, "multiline", "app-notifications");
- append_gl_item_list(genlist, get_all_apps_list(), ITEM_STYLE_ONE_LINE);
+ append_gl_item_list(genlist, get_all_apps_list(), ITEM_STYLE_TYPE_ONE);
return genlist;
}