From 7560f3dbbb6d52418a8e83d1a6ed212c4df82469 Mon Sep 17 00:00:00 2001 From: Sunyeop Hwang Date: Tue, 29 Jan 2013 11:10:53 +0900 Subject: [PATCH] Use vconf value for timezone sub text Change-Id: I130824a354eea4366bb6da2357225c465ad52e76 --- setting-time/src/setting-time-main.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/setting-time/src/setting-time-main.c b/setting-time/src/setting-time-main.c index b3410e3..ff17730 100755 --- a/setting-time/src/setting-time-main.c +++ b/setting-time/src/setting-time-main.c @@ -857,14 +857,14 @@ static int setting_time_main_create(void *cb) char* timezone_str = get_timezone_str(); - ret = get_city_name(timezone_str); - if (ret) { - SETTING_TRACE(">>>>>> RESULT : %s", get_city_name_result()); - } - char* cityname_id = _(get_city_name_result()); - SETTING_TRACE("cityname_id:%s", cityname_id); - if (cityname_id && 0 != safeStrCmp(cityname_id, "NULL")) - ret = snprintf(time_zone_sub_str, CITY_BUF_SIZE + GMT_BUF_SIZE + 2, "%s, GMT %s", cityname_id, _(str_buf)); + //ret = get_city_name(timezone_str); + //if (ret) { + // SETTING_TRACE(">>>>>> RESULT : %s", get_city_name_result()); + //} + //char* cityname_id = _(get_city_name_result()); + SETTING_TRACE("timezone : %s, cityname_id :%s", timezone_str, pa_city); + if (pa_city && 0 != safeStrCmp(_(pa_city), "NULL")) + ret = snprintf(time_zone_sub_str, CITY_BUF_SIZE + GMT_BUF_SIZE + 2, "%s, GMT %s", _(pa_city), _(str_buf)); else ret = snprintf(time_zone_sub_str, CITY_BUF_SIZE + GMT_BUF_SIZE + 2, "%s, GMT +09", _("IDS_WCL_BODY_CITYNAME_SEOUL")); -- 2.7.4