From: Soyoung Kim Date: Fri, 27 Sep 2013 06:44:30 +0000 (+0900) Subject: Fixed account icon path to manifest file X-Git-Tag: 2.2.1_release~9^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=ab15487992b2241e065b5e7182bd0340e4f423d3;p=framework%2Fweb%2Fwrt-installer.git Fixed account icon path to manifest file [Issue#] N/A [Problem] Can't loaded account icon. [Cause] Account icon path is wrong to manifest file. [Solution] Changed account icon path from relative path to absolute path. [Remarks] - config.xml path: icon.png - old manifest: icon.png - new manifest: /opt/usr/apps/[package]/res/wgt/icon.png Change-Id: I75a531e1da1f737fbe474adc0cdedfc89cf30284 --- diff --git a/src/jobs/widget_install/task_manifest_file.cpp b/src/jobs/widget_install/task_manifest_file.cpp index 4e6699b..dc5f844 100644 --- a/src/jobs/widget_install/task_manifest_file.cpp +++ b/src/jobs/widget_install/task_manifest_file.cpp @@ -1212,8 +1212,12 @@ void TaskManifestFile::setAccount(Manifest& manifest) } else if (it->first == ConfigParserData::IconSectionType::SmallIcon) { icon.first = L"account-small"; } - icon.second = it->second; + // account manifest requires absolute path for icon + // /opt/apps/[package]/res/wgt/[icon_path] + icon.second = DPL::FromUTF8String(m_context.locations->getSourceDir()) + + DPL::String(L"/") + + it->second; provider.icon.push_back(icon); }