w = ALBUM_ICON_SIZE;
}
h = w;
- icon =
- mp_util_create_lazy_update_thumb_icon(obj, thumb_name, w, h);
+ if(!thumb_name) { /*Default Icon*/
+ icon = mp_util_create_lazy_update_thumb_icon(obj, thumb_name, 28,28);
+ } else {
+ icon = mp_util_create_lazy_update_thumb_icon(obj, thumb_name, w, h);
+ }
elm_layout_theme_set(content, "layout", "list/B/music.type.1",
"default");
for (i = 0; i < album_count; i++) {
path = album_thumbs[i];
}
- Evas_Object *icon =
- mp_util_create_lazy_update_thumb_icon(obj, path, image_size,
- image_size);
+ Evas_Object *icon = NULL;
+ if(!path) { /*Default Icon*/
+ icon = mp_util_create_lazy_update_thumb_icon(obj, path, 28,28);
+ } else {
+ icon = mp_util_create_lazy_update_thumb_icon(obj, path, image_size,image_size);
+ }
return icon;
}
icon =
mp_widget_lock_icon_create(obj, (const char *) thumbpath);
} else {
- icon =
+ if(!thumbpath) { /*Default Icon*/
+ icon = mp_util_create_lazy_update_thumb_icon(obj, thumbpath,28,28);
+ } else {
+ icon =
mp_util_create_lazy_update_thumb_icon(obj, thumbpath,
- MP_LIST_ICON_SIZE,
- MP_LIST_ICON_SIZE);
+ MP_LIST_ICON_SIZE,MP_LIST_ICON_SIZE);
+ }
}
#else
icon =