From 7ed41f1a98f61b7d7d9c09901efe6bea72bfcb70 Mon Sep 17 00:00:00 2001 From: "yigang.jing" Date: Mon, 3 Dec 2012 09:20:24 +0800 Subject: [PATCH] Disable Web application menu --- include/setting-debug.h | 1 + resource/setting.cfg | 8 -------- setting-common/src/setting-cfg.c | 2 ++ 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/include/setting-debug.h b/include/setting-debug.h index 6defd02..f8b7d39 100755 --- a/include/setting-debug.h +++ b/include/setting-debug.h @@ -81,6 +81,7 @@ #define SUPPORT_WIFI_DIRECT 1 #define SUPPORT_DATA_USAGE 0 #define SUPPORT_SECURITY 0 +#define SUPPORT_WEB_APPLICATION 0 /*#endif*/ diff --git a/resource/setting.cfg b/resource/setting.cfg index b9e14f8..51041bf 100755 --- a/resource/setting.cfg +++ b/resource/setting.cfg @@ -184,14 +184,6 @@ "is_resetable" : 1 }, { - "key_name" : "IDS_ST_BODY_WEB_APPLICATIONS", - "icon_path" : "/usr/ug/res/images/ug-webapp-common-efl/WebApplication.png", - "ug_args" : "webapp-common-efl", - "pos" : 1, - "click_times" : 0, - "is_resetable" : 0 - }, - { "key_name" : "IDS_ST_BODY_MEMORY", "icon_path" : "/usr/apps/org.tizen.setting/res/icons/A01-1_icon_Memory.png", "ug_args" : "setting-memory-efl", diff --git a/setting-common/src/setting-cfg.c b/setting-common/src/setting-cfg.c index 8271bf4..657ceff 100755 --- a/setting-common/src/setting-cfg.c +++ b/setting-common/src/setting-cfg.c @@ -178,7 +178,9 @@ int setting_cfg_create(void) __create_an_item(KeyStr_ManageApps, IMG_MANAGE_APPS, "setting-manage-applications-efl|viewtype:manage-applications", Cfg_Item_Pos_Level1, Cfg_Item_Resetable); +#if SUPPORT_WEB_APPLICATION __create_an_item(KeyStr_WebApps, IMG_Web_Apps, "webapp-common-efl", Cfg_Item_Pos_Level1, Cfg_Item_unResetable); +#endif #if SUPPORT_CERTIFICATES __create_an_item(KeyStr_CertUI, IMG_MANAGE_APPS, "setting-manage-certificates-efl", Cfg_Item_Pos_Level1, Cfg_Item_Resetable); -- 2.7.4