Icon extension for package manager and manifest fix
authorTomasz Iwanek <t.iwanek@samsung.com>
Mon, 19 Aug 2013 09:58:29 +0000 (11:58 +0200)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Tue, 27 Aug 2013 15:01:57 +0000 (00:01 +0900)
commitb08a3b3a867f831a2f9059e417b36ea2f6b9e04b
treefb4129069a67a05d1e885f7590867e5c590b9be6
parent5f2bc480ecda5325baca88e45ae236349a0ab0b6
Icon extension for package manager and manifest fix

[Issue#]   LINUXWRT-804 / WGL-428
[Bug]      Hardcoded .png extension
[Cause]    Missing an API that can retrieve file extension.
[Solution] Make use the file extension of used icon

[SCMRequest] Depends upon https://review.tizendev.org/gerrit/86777
[Verification]
   1. Install widget from https://bugs.tizendev.org/jira/browse/WGL-428.
   2. Manifest file in /opt/share/packages/J7tHY89x22.xml should contain icon with .svg extension
      (<icon>J7tHY89x22.Y2y1.svg</icon>).

Change-Id: I06ccc45566afe8b49f39515e192ce58a1c1cac86
src/jobs/widget_install/task_manifest_file.cpp
src/jobs/widget_install/task_manifest_file.h
src/jobs/widget_install/task_widget_config.cpp