widget genlist: added more comments. fixed formatting.

This commit is contained in:
Daniel Juyung Seo 2012-12-03 23:30:49 -08:00
parent 09abfd796d
commit 98192b57ef
1 changed files with 2 additions and 1 deletions

View File

@ -392,9 +392,10 @@ _widget_genlist_create(const char *orig_style, const char *style)
/* set item or genlist style */
if (!strncmp("item", token, 4))
ic->item_style = style;
else
else
elm_object_style_set(o, style);
/* check compress mode */
if (!strncmp("item_compress", token, 13))
elm_genlist_mode_set(o, ELM_LIST_COMPRESS);