#define BUF_TITLE_MAX 128
+#define CHANNEL_GULLIVER IMAGEDIR"/gulliver.png"
+
static struct datamgr_item *_new_datamgr_item(char *title, char *thumb,
char *subtitle, char *parameter, char *key, char *value,
char *icon, int type, time_t time)
TvServiceChannel channel;
int r;
char buf[BUF_TITLE_MAX];
+ char *thumb = NULL;
if (!data || !user_data) {
_ERR("Invalid argument");
channel.program_name ?
channel.program_name : "");
- di = _new_datamgr_item(buf, NULL, NULL, PACKAGE_LIVETV, KEY_CHANNEL,
+ /* FIXME: For displaying default thumbmail, it should be removed */
+ if (!strcmp(rdata->id, "1"))
+ thumb = CHANNEL_GULLIVER;
+
+ di = _new_datamgr_item(buf, thumb, NULL, PACKAGE_LIVETV, KEY_CHANNEL,
rdata->id, IMAGE_RECENT_ICON_CHANNEL, 1, rdata->time);
if (di)
dm->list = eina_list_append(dm->list, di);