Fixed web size list
authorHeeJu Kang <mobum.kang@samsung.com>
Mon, 7 Jan 2013 08:51:52 +0000 (17:51 +0900)
committerHeeJu Kang <mobum.kang@samsung.com>
Mon, 7 Jan 2013 08:51:52 +0000 (17:51 +0900)
Change-Id: I82810f398fe02a8b61046f7bf481848198cfcb5b
Signed-off-by: HeeJu Kang <mobum.kang@samsung.com>
src/FShellLiveboxProviderInfo.cpp

index e738d31..2ffbd8e 100644 (file)
@@ -50,7 +50,15 @@ LiveboxProviderInfo::LiveboxProviderInfo(const Tizen::App::AppId& appId, const T
        }
        else
        {
-               providerId.Format(128, L"%ls.%ls", appId.GetPointer(), name.GetPointer() );
+               // for web
+               if (appId.IsEmpty())
+               {
+                       providerId.Format(128, L"%ls", name.GetPointer() );
+               }
+               else
+               {
+                       providerId.Format(128, L"%ls.%ls", appId.GetPointer(), name.GetPointer() );
+               }
        }
        __pLiveboxProviderInfoImpl = new _LiveboxProviderInfoImpl(appId, name, providerId);
 }