add myaccount UG
authorMyoungJune Park <mj2004.park@samsung.com>
Tue, 9 Apr 2013 12:32:59 +0000 (21:32 +0900)
committerMyoungJune Park <mj2004.park@samsung.com>
Tue, 9 Apr 2013 12:39:58 +0000 (21:39 +0900)
resource/setting.cfg
setting-common/include/setting-common-resource.h
setting-common/src/setting-cfg.c

index 58cca5f..8105a9a 100755 (executable)
     "name" : "IDS_COM_BODY_APPLICATIONS",
     "menu" : [
       {
+               "key_name" : "Accounts",
+               "icon_path" : "/usr/apps/com.samsung.setting/res/icons/A01-1_icon_Accounts.png",
+               "ug_args" : "setting-myaccount-efl|mode:account_list",
+               "pos" : 0,
+               "click_times" : 0,
+               "is_resetable" : 0
+      },
+      {
+        "key_name" : "IDS_COM_BODY_CALL",
+        "icon_path" : "/usr/share/icons/default/small/org.tizen.phone.png",
+        "ug_args" : "setting-call-efl",
+        "pos" : 0,
+        "click_times" : 0,
+        "is_resetable" : 0
+      },
+      {
         "key_name" : "IDS_COM_BODY_CALL",
         "icon_path" : "/usr/share/icons/default/small/org.tizen.phone.png",
         "ug_args" : "setting-call-efl",
index 2a411c7..8c66483 100755 (executable)
@@ -88,6 +88,7 @@
 /* applications keyStr*/
 #define KeyStr_Applications                    "IDS_COM_BODY_APPLICATIONS"
 
+#define KeyStr_Accounts                                "Accounts"
 #define KeyStr_Call                                    "IDS_COM_BODY_CALL"
 #define KeyStr_Gallery                         "IDS_COM_BODY_GALLERY"
 
 #define IMG_StorageIcon                SETTING_ICON_PATH_CFG"storage.png"
 
 /* applications IMG*/
+#define IMG_Accounts                   SETTING_ICON_PATH_CFG"A01-1_icon_Accounts.png"
 #define IMG_Call       "/usr/share/icons/default/small/org.tizen.phone.png"
 #define IMG_Messages "/usr/share/icons/default/small/org.tizen.message.png"
 #define IMG_Email      "/usr/share/icons/default/small/org.tizen.email.png"
index 005738a..8d1c947 100755 (executable)
@@ -182,6 +182,7 @@ int setting_cfg_create(void)
        /* Applications */
        __create_a_menu(KeyStr_Applications);
 
+       __create_an_item(KeyStr_Accounts, IMG_Accounts, "setting-myaccount-efl|mode:account_list", Cfg_Item_Pos_Level0, Cfg_Item_unResetable);
        __create_an_item(KeyStr_Call, IMG_Call, "setting-call-efl", Cfg_Item_Pos_Level0, Cfg_Item_unResetable);
        __create_an_item(KeyStr_Messages, IMG_Messages, "msg-setting-efl", Cfg_Item_Pos_Level0, Cfg_Item_unResetable);
        __create_an_item(KeyStr_Email, IMG_Email, "email-setting-efl|VIEW_TYPE:main-view", Cfg_Item_Pos_Level0, Cfg_Item_unResetable);