Merge "fixed N_SE-16682"
[apps/core/preloaded/settings.git] / src / setting.c
index 6fd50ab..81459be 100755 (executable)
@@ -35,6 +35,7 @@
 extern void setting_update_gl_item(void* data);
 
 #define KEY_END "XF86Stop"
+#define SUPPORT_UG_MESSAGE
 
 int g_geometry_x, g_geometry_y, g_geometry_w, g_geometry_h;
 extern int aul_listen_app_dead_signal(int (*func)(int signal, void *data), void *data);
@@ -539,14 +540,14 @@ static void setting_int_vconf_change_cb(keynode_t *key, void *data)
                                item_to_update->sub_desc = (char *)g_strdup(_("IDS_COM_BODY_ON_M_STATUS"));
                        }
                        FREE(pa_wifi_device);
-                       
+
                        item_to_update->chk_status = EINA_TRUE;
                        break;
                default:
                        SETTING_TRACE_ERROR("Invalid wifi status!");
                        return;
                }
-                       
+
                elm_check_state_set(item_to_update->eo_check, item_to_update->chk_status);
 
                if (ad->bAppPause || ad->ug) {
@@ -580,14 +581,14 @@ static void setting_int_vconf_change_cb(keynode_t *key, void *data)
 
                if (FALSE == status) {
                        item_to_update->sub_desc = (char *)g_strdup(_("IDS_COM_BODY_OFF_M_STATUS"));
-                       
+
                        item_to_update->chk_status = EINA_FALSE;
                } else {
                        item_to_update->sub_desc = (char *)g_strdup(_("IDS_COM_BODY_ON_M_STATUS"));
 
                        item_to_update->chk_status = EINA_TRUE;
                }
-                       
+
                item_to_update->chk_status = status;
                elm_check_state_set(item_to_update->eo_check, item_to_update->chk_status);
 
@@ -810,6 +811,8 @@ static bool setting_main_app_create(void *data)
        //SETTING_TRACE("[TIME] 4. setting_main_app_create taked %d msec ", appcore_measure_time());
        //appcore_measure_start();
 
+       // set default local automatically
+       set_defaultLangICU();
        return true;
 }