Fixd size issue
authorHeeJu Kang <mobum.kang@samsung.com>
Sat, 12 Jan 2013 08:14:49 +0000 (17:14 +0900)
committerHeeJu Kang <mobum.kang@samsung.com>
Sat, 12 Jan 2013 08:14:49 +0000 (17:14 +0900)
Change-Id: Id2db1092335b9a35f22c38bc83fd073e7d56fde1
Signed-off-by: HeeJu Kang <mobum.kang@samsung.com>
src/FShell_LiveboxViewManager.cpp

index a67c298..5010b0e 100644 (file)
@@ -356,8 +356,10 @@ _LiveboxViewManager::AddLiveboxView(_LiveboxView* pLiveboxView, const String& us
 
        const char* pCluster = "user,created";
        const char* pCategory = "default";
-
-       livebox* pLivebox = livebox_add_with_size(pLiveboxId.get(), pContent.get(), pCluster, pCategory, GetLiveboxSizeType(pLiveboxView->GetSize()), 1, OnLiveboxAdded, this);
+       double period = 1.0f;
+       int sizeType = GetLiveboxSizeType(pLiveboxView->GetSize());
+       
+       livebox* pLivebox = livebox_add_with_size(pLiveboxId.get(), pContent.get(), pCluster, pCategory, period, sizeType, OnLiveboxAdded, this);
        SysTryReturn(NID_UI_CTRL, pLivebox, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        __pViewMap->Add(pLivebox, pLiveboxView);