<listOptionValue builtIn="false" value="TIZEN_DEPRECATION"/>
<listOptionValue builtIn="false" value="DEPRECATION_WARNING"/>
<listOptionValue builtIn="false" value="_DEBUG"/>
- <listOptionValue builtIn="false" value=""TZ_SYS_RO_APP=\"/usr/apps/\"""/>
<listOptionValue builtIn="false" value=""PACKAGE=\"${APPID}\"""/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1028306498" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
<tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.1863740515" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
<tool id="org.tizen.nativecore.tool.sbi.po.compiler.1628915892" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
<tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1620815858" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler">
- <option id="sbi.gnu.edc.compiler.option.misc.id.433557062" superClass="sbi.gnu.edc.compiler.option.misc.id" useByScannerDiscovery="false" valueType="stringList">
+ <option id="sbi.gnu.edc.compiler.option.misc.id.433557062" name="Image Path (-id)" superClass="sbi.gnu.edc.compiler.option.misc.id" useByScannerDiscovery="false" valueType="stringList">
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/edje/images""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/res/images""/>
</option>
<listOptionValue builtIn="false" value="TIZEN_DEPRECATION"/>
<listOptionValue builtIn="false" value="DEPRECATION_WARNING"/>
<listOptionValue builtIn="false" value="_DEBUG"/>
- <listOptionValue builtIn="false" value="_TZ_SYS_RO_APP=TZ_SYS_RO_APP"/>
- <listOptionValue builtIn="false" value="TZ_SYS_RO_APP=\"/usr/apps/\""/>
- <listOptionValue builtIn="false" value="TZ_SYS_RO_APP=\"/usr/apps/\""/>
<listOptionValue builtIn="false" value="PACKAGE=\"${APPID}\""/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.131964464" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
<tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.698360284" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
<tool id="org.tizen.nativecore.tool.sbi.po.compiler.1241935410" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
<tool id="org.tizen.nativecore.tool.sbi.edc.compiler.608900761" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler">
- <option id="sbi.gnu.edc.compiler.option.misc.id.2118339782" superClass="sbi.gnu.edc.compiler.option.misc.id" useByScannerDiscovery="false" valueType="stringList">
+ <option id="sbi.gnu.edc.compiler.option.misc.id.2118339782" name="Image Path (-id)" superClass="sbi.gnu.edc.compiler.option.misc.id" useByScannerDiscovery="false" valueType="stringList">
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/edje/images""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/res/images""/>
</option>
if (err != SETTING_RETURN_SUCCESS)
return false;
- elm_theme_extension_add(NULL,
- _TZ_SYS_RO_APP"/org.tizen.setting/res/edje/settings.edj");
- elm_theme_extension_add(NULL,
- _TZ_SYS_RO_APP"/org.tizen.setting/res/edje/setting-genlist.edj");
- elm_theme_extension_add(NULL,
- _TZ_SYS_RO_APP"/org.tizen.setting/res/edje/setting-theme.edj");
+
+ char *path = get_resource_path("/edje/settings.edj");
+ elm_theme_extension_add(NULL, path);
+ free(path);
+
+ path = get_resource_path("/edje/setting-genlist.edj");
+ elm_theme_extension_add(NULL, path);
+ free(path);
+
+ path = get_resource_path("/edje/setting-theme.edj");
+ elm_theme_extension_add(NULL, path);
+ free(path);
battery_main_init(ad);
setting_view_create(ad->main_view, ad);
<listOptionValue builtIn="false" value="TIZEN_DEPRECATION"/>
<listOptionValue builtIn="false" value="DEPRECATION_WARNING"/>
<listOptionValue builtIn="false" value="_DEBUG"/>
- <listOptionValue builtIn="false" value="_TZ_SYS_RO_APP=TZ_SYS_RO_APP"/>
- <listOptionValue builtIn="false" value="TZ_SYS_RO_APP=\"/usr/apps/\""/>
- <listOptionValue builtIn="false" value="TZ_SYS_RO_APP=\"/usr/apps/\""/>
<listOptionValue builtIn="false" value="PACKAGE=\"${APPID}\""/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1428510647" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
<tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.1221973430" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
<tool id="org.tizen.nativecore.tool.sbi.po.compiler.48353731" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
<tool id="org.tizen.nativecore.tool.sbi.edc.compiler.17772167" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler">
- <option id="sbi.gnu.edc.compiler.option.misc.id.1365909274" superClass="sbi.gnu.edc.compiler.option.misc.id" useByScannerDiscovery="false" valueType="stringList">
+ <option id="sbi.gnu.edc.compiler.option.misc.id.1365909274" name="Image Path (-id)" superClass="sbi.gnu.edc.compiler.option.misc.id" useByScannerDiscovery="false" valueType="stringList">
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/edje/images""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/res/images""/>
</option>
retv_if(NULL == data, SETTING_GENERAL_ERR_NULL_DATA_PARAMETER);
- elm_theme_extension_add(NULL,
- _TZ_SYS_RO_APP"/org.tizen.setting/res/edje/setting-theme.edj");
- elm_theme_extension_add(NULL,
- _TZ_SYS_RO_APP"/org.tizen.setting/res/edje/setting-genlist.edj");
- elm_theme_extension_add(NULL,
- _TZ_SYS_RO_APP"/org.tizen.setting/res/edje/settings.edj");
+ char *path = get_resource_path("/edje/setting-theme.edj");
+ elm_theme_extension_add(NULL, path);
+ free(path);
+
+ path = get_resource_path("/edjesetting-genlist.edj");
+ elm_theme_extension_add(NULL, path);
+ free(path);
+
+ path = get_resource_path("/edje/settings.edj");
+ elm_theme_extension_add(NULL, path);
+ free(path);
ad->gl_header_itc.item_style = "group_index";
ad->gl_header_itc.func.text_get = _apps_header_text_get;
layout = elm_layout_add(genlist);
- elm_layout_file_set(layout,
- _TZ_SYS_RO_APP"/org.tizen.setting/res/edje/"
- "genlist_item_mobile_data_usage.edj",
- "genlist_item_mobile_data_usage");
+ char *path = get_resource_path("/edje/genlist_item_mobile_data_usage.edj");
+ elm_layout_file_set(layout, path, "genlist_item_mobile_data_usage");
+ free(path);
if (ad->sim_1_genlist == genlist)
_graph_layout_fill(ad, layout,
return NULL;
layout = elm_layout_add(genlist);
- elm_layout_file_set(layout,
- _TZ_SYS_RO_APP"/org.tizen.setting/res/edje/setting-theme.edj",
- "gl_custom_item_icon");
+ char *path = get_resource_path("/edje/setting-theme.edj");
+ elm_layout_file_set(layout, path, "gl_custom_item_icon");
+ free(path);
elm_object_part_text_set(layout, "elm.text", app_item->label);