diff --git a/legacy/elementary/src/lib/elm_gengrid.c b/legacy/elementary/src/lib/elm_gengrid.c index 5490626b0c..2580e07515 100644 --- a/legacy/elementary/src/lib/elm_gengrid.c +++ b/legacy/elementary/src/lib/elm_gengrid.c @@ -957,7 +957,7 @@ _item_realize(Elm_Gengrid_Item *it) edje_object_mirrored_set(VIEW(it), elm_widget_mirrored_get(WIDGET(it))); evas_object_smart_member_add(VIEW(it), it->wd->pan_smart); elm_widget_sub_object_add(it->wd->self, VIEW(it)); - snprintf(style, sizeof(style), "it/%s", + snprintf(style, sizeof(style), "item/%s", it->itc->item_style ? it->itc->item_style : "default"); _elm_theme_object_set(it->wd->self, VIEW(it), "gengrid", style, elm_widget_style_get(it->wd->self)); diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c index 16065f9949..43cbbab9bc 100644 --- a/legacy/elementary/src/lib/elm_genlist.c +++ b/legacy/elementary/src/lib/elm_genlist.c @@ -1866,7 +1866,7 @@ _item_realize(Elm_Genlist_Item *it, if (it->flags & ELM_GENLIST_ITEM_SUBITEMS) strncpy(buf, "tree", sizeof(buf)); - else strncpy(buf, "it", sizeof(buf)); + else strncpy(buf, "item", sizeof(buf)); if (it->wd->compress) strncat(buf, "_compress", sizeof(buf) - strlen(buf)); @@ -2930,7 +2930,7 @@ _mode_item_realize(Elm_Genlist_Item *it) evas_object_smart_member_add(it->mode_view, it->wd->pan_smart); elm_widget_sub_object_add(WIDGET(it), it->mode_view); - strncpy(buf, "it", sizeof(buf)); + strncpy(buf, "item", sizeof(buf)); if (it->wd->compress) strncat(buf, "_compress", sizeof(buf) - strlen(buf));