Disable Web application menu
authoryigang.jing <yigang.jing@samsung.com>
Mon, 3 Dec 2012 01:20:24 +0000 (09:20 +0800)
committeryigang.jing <yigang.jing@samsung.com>
Mon, 3 Dec 2012 01:20:24 +0000 (09:20 +0800)
include/setting-debug.h
resource/setting.cfg
setting-common/src/setting-cfg.c

index 6defd02..f8b7d39 100755 (executable)
@@ -81,6 +81,7 @@
 #define SUPPORT_WIFI_DIRECT                     1
 #define SUPPORT_DATA_USAGE                      0
 #define SUPPORT_SECURITY                       0
+#define SUPPORT_WEB_APPLICATION                        0
 
 /*#endif*/
 
index b9e14f8..51041bf 100755 (executable)
         "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",
index 8271bf4..657ceff 100755 (executable)
@@ -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);