parent
29f5f480b8
commit
5f5dd5f9e1
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue