From: Hyejin Kim Date: Wed, 29 Aug 2012 01:28:52 +0000 (+0900) Subject: remove events notification and security menu X-Git-Tag: 2.0_alpha~67^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6644b376e558f454b349cbb33a23075e60ba4dc7;p=apps%2Fcore%2Fpreloaded%2Fsettings.git remove events notification and security menu --- diff --git a/include/setting-debug.h b/include/setting-debug.h index 6d9efa4..c52c3c3 100755 --- a/include/setting-debug.h +++ b/include/setting-debug.h @@ -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*/ diff --git a/resource/setting.cfg b/resource/setting.cfg index 0eeef47..6e4deae 100644 --- a/resource/setting.cfg +++ b/resource/setting.cfg @@ -103,14 +103,6 @@ { "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", @@ -135,14 +127,6 @@ "click_times" : 0, "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", @@ -371,4 +355,4 @@ "menu" : [ ] } -] \ No newline at end of file +] diff --git a/setting-common/src/setting-cfg.c b/setting-common/src/setting-cfg.c index b383613..c69a92b 100755 --- a/setting-common/src/setting-cfg.c +++ b/setting-common/src/setting-cfg.c @@ -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);