From 91914e455c58d9dd7e72aaded2e1b9fce15b680b Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Wed, 5 Dec 2012 14:35:55 +0900 Subject: [PATCH] Use the default content using livebox-service API Change-Id: If6a2a9d9e8b6a5d4631bc2f747181f9707d7951d --- live.viewer/src/scroller.c | 7 ++++--- packaging/liblivebox-viewer.spec | 2 +- src/livebox.c | 4 +++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/live.viewer/src/scroller.c b/live.viewer/src/scroller.c index 8dd531e..a763aec 100644 --- a/live.viewer/src/scroller.c +++ b/live.viewer/src/scroller.c @@ -126,8 +126,8 @@ static Eina_Bool bg_change_cb(void *data) if (scinfo) scinfo->bg_changer = NULL; - /* - * NOTE: + /*! + * \note: * Here, * Filename of background image handling code is only * used to demonstrates UX concept and estimates its perfomance. @@ -146,7 +146,8 @@ static void sc_anim_start(void *data, Evas_Object *obj, void *event_info) if (!scinfo) return; - /* \note + /*! + * \note * without drag,start * anim start can be invoked by the scroller_anim_to */ diff --git a/packaging/liblivebox-viewer.spec b/packaging/liblivebox-viewer.spec index 4d9bab8..980f295 100644 --- a/packaging/liblivebox-viewer.spec +++ b/packaging/liblivebox-viewer.spec @@ -1,6 +1,6 @@ Name: liblivebox-viewer Summary: Library for the development of a livebox viewer -Version: 0.8.4 +Version: 0.8.5 Release: 1 Group: main/app License: Samsung Proprietary License diff --git a/src/livebox.c b/src/livebox.c index 5af7a3f..78516b3 100644 --- a/src/livebox.c +++ b/src/livebox.c @@ -646,6 +646,8 @@ EAPI struct livebox *livebox_add_with_size(const char *pkgname, const char *cont free(handler); return NULL; } + } else { + handler->content = livebox_service_content(handler->pkgname); } handler->cluster = strdup(cluster); @@ -684,7 +686,7 @@ EAPI struct livebox *livebox_add_with_size(const char *pkgname, const char *cont s_info.livebox_list = dlist_append(s_info.livebox_list, handler); - packet = packet_create("new", "dssssdii", handler->timestamp, handler->pkgname, content, cluster, category, period, width, height); + packet = packet_create("new", "dssssdii", handler->timestamp, handler->pkgname, handler->content, cluster, category, period, width, height); if (!packet) { ErrPrint("Failed to create a new packet\n"); free(handler->category); -- 2.7.4