Apps grid: Added the default app thumbnail image 89/44589/1
authorHyojung Jo <hj903.jo@samsung.com>
Thu, 23 Jul 2015 10:56:27 +0000 (19:56 +0900)
committerHyojung Jo <hj903.jo@samsung.com>
Thu, 23 Jul 2015 10:56:27 +0000 (19:56 +0900)
Change-Id: I85abb8485cc6cce51352f933800600c8bc5e3e97
Signed-off-by: Hyojung Jo <hj903.jo@samsung.com>
include/define.h
res/images/ic_default_app.png [new file with mode: 0644]
src/grid/grid_apps.c

index 46b294e..1c8ab1f 100644 (file)
@@ -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 (file)
index 0000000..82c7956
Binary files /dev/null and b/res/images/ic_default_app.png differ
index 3f72a0d..57de251 100644 (file)
@@ -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);