Launch points 80/67180/2 accepted/tizen/mobile/20160427.080225 submit/tizen/20160427.020326
authorRadek Kintop <r.kintop@samsung.com>
Mon, 25 Apr 2016 11:59:09 +0000 (13:59 +0200)
committerRadek Kintop <r.kintop@samsung.com>
Mon, 25 Apr 2016 12:36:05 +0000 (14:36 +0200)
- setting - display
- setting - flightmode
- setting - about

Change-Id: If50bc884dfa02a50fd524a2db774c041c918cacb
Signed-off-by: Radek Kintop <r.kintop@samsung.com>
setting-common/src/setting-cfg.c
src/setting-handler.c

index c42dd1f72b3d1c5177ec6f5cbedad6551fcc8e2e..aa2bd9a9761b34125565f0fb4c40ede6515c48d3 100644 (file)
@@ -182,7 +182,7 @@ static Setting_Cfg_Node_T s_cfg_node_array[] = {
        {KeyStr_WiFi, IMG_WiFi, "wifi-efl-ug", Cfg_Item_Pos_Level0, Cfg_Item_Resetable,   0, Cfg_Item_AppLauncher_Node, NULL, KeyStr_Connections, &wifi_tfunc, uuid_WiFi, 0, "wifi-efl-ug"},
        {KeyStr_Bluetooth, IMG_Bluetooth, "ug-bluetooth-efl", Cfg_Item_Pos_Level0, Cfg_Item_Resetable,  0, Cfg_Item_AppLauncher_Node, NULL, KeyStr_Connections, &bluetooth_tfunc, uuid_Bluetooth, 0, "ug-bluetooth-efl"},
 #ifdef TIZEN_BUILD_TARGET
-       {KeyStr_FlightMode, IMG_FlightMode, "setting-flightmode-efl", Cfg_Item_Pos_Level0, Cfg_Item_unResetable,  0, Cfg_Item_Ui_Node_Toggle, NULL, KeyStr_Connections, &flightmode_tfunc, uuid_FlightMode, 0, NULL},
+       {KeyStr_FlightMode, IMG_FlightMode, "setting-flightmode-efl", Cfg_Item_Pos_Level0, Cfg_Item_unResetable,  0, Cfg_Item_AppLauncher_Node, NULL, KeyStr_Connections, &flightmode_tfunc, uuid_FlightMode, 0, "org.tizen.setting-flightmode"},
 #endif
 
 #ifdef TIZEN_BUILD_EMULATOR
@@ -201,7 +201,7 @@ static Setting_Cfg_Node_T s_cfg_node_array[] = {
        /* Group:Device */
        {KeyStr_Device, NULL, "move://Tab3.top", Cfg_Item_Pos_Level0, 0, 0, Cfg_Item_Title_Node, NULL, NULL, NULL, uuid_SoundDisplay, 0, NULL},
        {KeyStr_Sounds, IMG_Sounds, "setting-profile-efl", Cfg_Item_Pos_Level0, Cfg_Item_Resetable, 0, Cfg_Item_Ug_Node, NULL, KeyStr_Device, NULL, uuid_SoundDisplay, 0, NULL},
-       {KeyStr_Display, IMG_Display, "setting-display-efl|viewtype:main", Cfg_Item_Pos_Level0, Cfg_Item_Resetable, 0, Cfg_Item_Ug_Node, NULL, KeyStr_Device, NULL, uuid_Display, 0, "org.tizen.setting.display"},
+       {KeyStr_Display, IMG_Display, "setting-display-efl|viewtype:main", Cfg_Item_Pos_Level0, Cfg_Item_Resetable, 0, Cfg_Item_AppLauncher_Node, NULL, KeyStr_Device, NULL, uuid_Display, 0, "org.tizen.setting-display"},
        {KeyStr_ApplicationsItem, IMG_Applications, "setting-applications-efl", Cfg_Item_Pos_Level0, Cfg_Item_Resetable, 0, Cfg_Item_Ug_Node, NULL, KeyStr_Device, NULL, uuid_Display, 0, "org.tizen.setting.display"},
 
        /* Group: Personal */
@@ -222,7 +222,7 @@ static Setting_Cfg_Node_T s_cfg_node_array[] = {
 #endif
        {KeyStr_DateTime, IMG_DateTime, "setting-time-efl", Cfg_Item_Pos_Level0, Cfg_Item_Resetable, 0, Cfg_Item_Ug_Node, NULL, KeyStr_System, NULL, uuid_DateTime, 0, NULL},
        /*{KeyStr_DeveloperOption, IMG_USBconnection, "setting-developeroption-efl|viewtype:usb", Cfg_Item_Pos_Level0, Cfg_Item_Resetable, 0, Cfg_Item_Ug_Node, NULL, KeyStr_DeviceMange, NULL, uuid_DeveloperOption, 0, "org.tizen.setting.developeroptions"}, */
-       {KeyStr_AboutDevice, IMG_AboutDevice, "setting-about-efl", Cfg_Item_Pos_Level0, Cfg_Item_Resetable, 0, Cfg_Item_Ug_Node, NULL, KeyStr_System, NULL, uuid_AboutPhone, 0, NULL},
+       {KeyStr_AboutDevice, IMG_AboutDevice, "setting-about-efl", Cfg_Item_Pos_Level0, Cfg_Item_Resetable, 0, Cfg_Item_AppLauncher_Node, NULL, KeyStr_System, NULL, uuid_AboutPhone, 0, "org.tizen.setting-about"},
 
 #if 0
        {KeyStr_Security, IMG_Security, "setting-security-efl", Cfg_Item_Pos_Level0, Cfg_Item_Resetable, 0, Cfg_Item_Ug_Node, NULL, KeyStr_DeviceMange, NULL, uuid_Security, 0,  NULL},
index 78b21e23baeef5e059d3e19b3c6fe7dcb45a49c1..c2d6cfbddaa59b4d8e5f68e874930f1dda4b6934 100644 (file)
@@ -265,7 +265,7 @@ void setting_main_click_list_ex_ug_cb(void *data, Evas_Object *obj,
                return;
        }
        if (pnode && pnode->item_type == Cfg_Item_AppLauncher_Node) {
-               if (app_launcher(data) == 0) {
+               if (app_launcher(pnode->shortcut_appid) == 0) {
                        ad->event_freeze_timer = ecore_timer_add(1, setting_main_freeze_event_timer_cb, ad);
                        evas_object_freeze_events_set(ad->navibar_main, EINA_TRUE);
                }
@@ -283,6 +283,7 @@ void setting_main_click_list_ex_ug_cb(void *data, Evas_Object *obj,
        cbs->priv = (void *)ad;
 
        char *path = get_ug_path_from_ug_args(data);
+
        app_control_h svc = get_bundle_from_ug_args(data);
        setting_main_click_list_item_ug_cb(ad, obj, path, svc, cbs);
        if (path) {