diff options
author | Soyoung Kim <sy037.kim@samsung.com> | 2012-08-30 15:51:39 +0900 |
---|---|---|
committer | Soyoung Kim <sy037.kim@samsung.com> | 2012-08-30 16:01:12 +0900 |
commit | 2ce76b65237f65d053c6e72c4a39dcaa38b83843 (patch) | |
tree | 49c5de820032c8442ad0efcb13c1512a2d30c331 | |
parent | 8ec41fa51d9e04f17c66ef90bbaa9711de29e342 (diff) | |
download | wrt-installer-2ce76b65237f65d053c6e72c4a39dcaa38b83843.tar.gz wrt-installer-2ce76b65237f65d053c6e72c4a39dcaa38b83843.tar.bz2 wrt-installer-2ce76b65237f65d053c6e72c4a39dcaa38b83843.zip |
remove add_to_home_shortcut
-rw-r--r-- | src/jobs/widget_install/task_manifest_file.cpp | 34 | ||||
-rw-r--r-- | src/jobs/widget_install/task_manifest_file.h | 1 |
2 files changed, 0 insertions, 35 deletions
diff --git a/src/jobs/widget_install/task_manifest_file.cpp b/src/jobs/widget_install/task_manifest_file.cpp index 1d925c9..e6a8dce 100644 --- a/src/jobs/widget_install/task_manifest_file.cpp +++ b/src/jobs/widget_install/task_manifest_file.cpp @@ -26,7 +26,6 @@ #include <dirent.h> #include <fstream> #include <ail.h> -#include <shortcut/shortcut.h> //WRT INCLUDES #include <widget_install/task_manifest_file.h> @@ -105,9 +104,6 @@ TaskManifestFile::TaskManifestFile(InstallerContext &inCont) : AddStep(&TaskManifestFile::stepCreateExecFile); AddStep(&TaskManifestFile::stepGenerateManifest); AddStep(&TaskManifestFile::stepParseManifest); - if (m_context.browserRequest) { - AddStep(&TaskManifestFile::stepCreateShortcut); - } AddStep(&TaskManifestFile::stepFinalize); } else { // for widget update. @@ -256,36 +252,6 @@ void TaskManifestFile::stepCopyIconFiles() "Widget iconfile copy Finished"); } -void TaskManifestFile::stepCreateShortcut() -{ - LogInfo("create shortcut"); - - WidgetDAOReadOnly dao(*m_context.widgetHandle); - LanguageTagsList languageTags(dao.getLanguageTags()); - DPL::OptionalString name; - DPL::OptionalString pkgname = m_context.widgetConfig.pkgname; - - FOREACH(i, languageTags) - { - name = dao.getLocalizedInfo(*i).name; - if (!name.IsNull()) { - LogInfo("found name: " << DPL::ToUTF8String(*name).c_str()); - break; - } - } - - add_to_home_shortcut(DPL::ToUTF8String(*pkgname).c_str(), - DPL::ToUTF8String(*name).c_str(), - LAUNCH_BY_PACKAGE, - DPL::ToUTF8String(*name).c_str(), - m_context.installedIconPath.c_str(), - NULL, NULL); - - m_context.job->UpdateProgress( - InstallerContext::INSTALL_CREATE_SHORTCUT, - "shortcut creation Finished"); -} - void TaskManifestFile::stepBackupIconFiles() { LogDebug("Backup Icon Files"); diff --git a/src/jobs/widget_install/task_manifest_file.h b/src/jobs/widget_install/task_manifest_file.h index c93cf54..d06b3d2 100644 --- a/src/jobs/widget_install/task_manifest_file.h +++ b/src/jobs/widget_install/task_manifest_file.h @@ -64,7 +64,6 @@ class TaskManifestFile : void stepCreateExecFile(); void stepFinalize(); void stepCopyIconFiles(); - void stepCreateShortcut(); void stepGenerateManifest(); void stepParseManifest(); void stepParseUpgradedManifest(); |