util: Use reserved paths to icons 31/68931/4 submit/tizen/20160510.143641
authorKamil Lipiszko <k.lipiszko@samsung.com>
Tue, 10 May 2016 11:26:15 +0000 (13:26 +0200)
committerKamil Lipiszko <k.lipiszko@samsung.com>
Tue, 10 May 2016 12:46:48 +0000 (14:46 +0200)
commitbdecd73ce2c99b80f4b75268dbf932564dcfd8f7
tree6ca2dfcb462761bc765cb63e1835fc5207998eb0
parent8becc61455bb7ba74ef98036340da05c1f902205
util: Use reserved paths to icons

Indicator should not use absolute paths from other apps. If indicator
changes its icons directory, paths from other app will not match anymore.
This patch is checking if received path is reserved, if it is replaces
reserved path with real path to icon.

Related msg-manager change: https://review.tizen.org/gerrit/#/c/68618/1

Change-Id: I3c6e8cac266325c84e0bbea26c4c4e8739dad1bb
inc/util.h
src/modules/information/noti.c
src/util.c