- Elm_Genlist_Item_Class *itc_1text_1icon = elm_genlist_item_class_new();
- itc_1text_1icon->item_style = "drawing";
- itc_1text_1icon->func.text_get = __emoticon_gl_text_get;
- itc_1text_1icon->func.content_get = __emoticon_gl_1_content_get;
- itc_1text_1icon->func.state_get = NULL;
- itc_1text_1icon->func.del = NULL;
+ Elm_Genlist_Item_Class *itc_1text_1icon = NULL;
+ if (app_data->mime_type == MIME_TYPE_ALL) {
+ itc_1text_1icon = elm_genlist_item_class_new();
+ itc_1text_1icon->item_style = "drawing";
+ itc_1text_1icon->func.text_get = __emoticon_gl_text_get;
+ itc_1text_1icon->func.content_get = __emoticon_gl_1_content_get;
+ itc_1text_1icon->func.state_get = NULL;
+ itc_1text_1icon->func.del = NULL;
+ }