From: Hyojung Jo Date: Thu, 23 Jul 2015 10:56:27 +0000 (+0900) Subject: Apps grid: Added the default app thumbnail image X-Git-Tag: accepted/tizen/tv/20150728.070600~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b53bd79eb12a3bf38740642ad70588e0203e3c63;p=profile%2Ftv%2Fapps%2Fnative%2Fair_favorite.git Apps grid: Added the default app thumbnail image Change-Id: I85abb8485cc6cce51352f933800600c8bc5e3e97 Signed-off-by: Hyojung Jo --- diff --git a/include/define.h b/include/define.h index 46b294e..1c8ab1f 100644 --- a/include/define.h +++ b/include/define.h @@ -83,6 +83,7 @@ /* Image */ #define PLAY_ICON_PNG "ic_thumbnail_play.png" #define DEFAULT_IMAGE_PNG IMGDIR"/ic_thumbnail_picture.png" +#define DEFAULT_APP_PNG IMGDIR"/ic_default_app.png" /* Path */ #define PATH_PLAY_ICON_PNG IMGDIR"/ic_thumbnail_play.png" diff --git a/res/images/ic_default_app.png b/res/images/ic_default_app.png new file mode 100644 index 0000000..82c7956 Binary files /dev/null and b/res/images/ic_default_app.png differ diff --git a/src/grid/grid_apps.c b/src/grid/grid_apps.c index 3f72a0d..57de251 100644 --- a/src/grid/grid_apps.c +++ b/src/grid/grid_apps.c @@ -108,8 +108,7 @@ static Evas_Object *_content_get(void *data, Evas_Object *obj, const char *part) } if (!icon || !strcmp(icon, STR_NULL)) - /* FIXME: The default icon image should be registerd. */ - elm_image_file_set(img, NULL, NULL); + elm_image_file_set(img, DEFAULT_APP_PNG, NULL); else elm_image_file_set(img, icon, NULL);