remove events notification and security menu
authorHyejin Kim <hyejin0906.kim@samsung.com>
Wed, 29 Aug 2012 01:28:52 +0000 (10:28 +0900)
committerHyejin Kim <hyejin0906.kim@samsung.com>
Wed, 29 Aug 2012 01:28:52 +0000 (10:28 +0900)
include/setting-debug.h
resource/setting.cfg
setting-common/src/setting-cfg.c

index 6d9efa4..c52c3c3 100755 (executable)
@@ -83,6 +83,8 @@
 #define SUPPORT_WIFI_DIRECT                     1
 #define SUPPORT_ALLSHARECAST           1
 #define SUPPORT_DATA_USAGE                      0
+#define SUPPORT_SECURITY                       0
+#define SUPPORT_EVENTNOTI                      0
 
 /*#endif*/
 
index 0eeef47..6e4deae 100644 (file)
     "name" : "IDS_COM_BODY_SYSTEM",
     "menu" : [
       {
-        "key_name" : "IDS_ST_BODY_EVENTS_NOTIFICATIONS",
-        "icon_path" : "/opt/apps/com.samsung.setting/res/icons/A01-1_icon_Events_Notifications.png",
-        "ug_args" : "setting-phone-efl|viewtype:notification",
-        "pos" : 0,
-        "click_times" : 0,
-        "is_resetable" : 1
-      },
-      {
         "key_name" : "IDS_COM_BODY_WALLPAPER",
         "icon_path" : "/opt/apps/com.samsung.setting/res/icons/A01-1_icon_Wallpaper.png",
         "ug_args" : "setting-display-efl|viewtype:wallpaper",
         "is_resetable" : 1
       },
       {
-        "key_name" : "IDS_ST_BODY_SECURITY",
-        "icon_path" : "/opt/apps/com.samsung.setting/res/icons/A01-1_icon_Security.png",
-        "ug_args" : "setting-security-efl",
-        "pos" : 0,
-        "click_times" : 0,
-        "is_resetable" : 1
-      },
-      {
         "key_name" : "IDS_ST_BODY_POWER_SAVING_MODE",
         "icon_path" : "/opt/apps/com.samsung.setting/res/icons/A01-1_icon_Power_saving_mode.png",
         "ug_args" : "setting-powersaving-efl",
     "menu" : [
     ]
   }
-]
\ No newline at end of file
+]
index b383613..c69a92b 100755 (executable)
@@ -148,9 +148,9 @@ int setting_cfg_create(void)
        /* System */
        __create_a_menu(KeyStr_System);
        /* a new group..        */
-
+#if SUPPORT_EVENTNOTI
        __create_an_item(KeyStr_EventsNotifications, IMG_EventsNotifications, "setting-phone-efl|viewtype:notification", Cfg_Item_Pos_Level0, Cfg_Item_Resetable);
-
+#endif
        // Wallpaper -- here
 #if SUPPORT_WALLPAPER
        /* kinds of wallpaper version.. */
@@ -163,7 +163,9 @@ int setting_cfg_create(void)
        __create_an_item(KeyStr_Brightness, IMG_Brightness, "setting-display-efl|viewtype:brightness", Cfg_Item_Pos_Level0, Cfg_Item_Resetable);
 #endif
 
+#if SUPPORT_SECURITY
        __create_an_item(KeyStr_Security, IMG_Security, "setting-security-efl", Cfg_Item_Pos_Level0, Cfg_Item_Resetable);
+#endif
 
 #if SUPPORT_POWERSAVING
        __create_an_item(KeyStr_Powersaving, IMG_Powersaving, "setting-powersaving-efl", Cfg_Item_Pos_Level0, Cfg_Item_unResetable);