TV Grid: Fixed the default icon to be shown when thumbnail is NULL 44/45644/1 accepted/tizen/tv/20150810.080420 submit/tizen/20150810.063635
authorHyojung Jo <hj903.jo@samsung.com>
Mon, 10 Aug 2015 06:26:50 +0000 (15:26 +0900)
committerHyojung Jo <hj903.jo@samsung.com>
Mon, 10 Aug 2015 06:27:10 +0000 (15:27 +0900)
Change-Id: Ie2c00f8eea9c626a3297b0dd08a8fb098606481b
Signed-off-by: Hyojung Jo <hj903.jo@samsung.com>
src/grid/grid_tv.c

index 00367cf..7669df7 100644 (file)
@@ -65,7 +65,8 @@ static Evas_Object *_content_get(void *data, Evas_Object *obj, const char *part)
        if (!dmgr || !dmgr->get_data)
                return NULL;
 
-       if (!strcmp(part, PART_THUMB_ICON)) {
+       if (!strcmp(part, PART_THUMB_ICON)
+                       || !strcmp(part, PART_THUMB_DEFAULT_TV_ICON)) {
                thumbnail = dmgr->get_data(data, DATA_THUMBNAIL);
 
                img = elm_image_add(obj);