From: Seonah Moon Date: Wed, 19 Oct 2016 09:52:52 +0000 (+0900) Subject: [TSAM-8835] Wearable: Remove the undefined color code X-Git-Tag: accepted/tizen/3.0/ivi/20161028.123010~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b35304315606bf33b24b975127a2c6da07e30476;p=apps%2Fnative%2Fug-wifi-efl.git [TSAM-8835] Wearable: Remove the undefined color code Change-Id: I34f03b4e1a9dfcc291b92e11a55a9b11051b8d64 Signed-off-by: Seonah Moon --- diff --git a/packaging/wifi-efl-ug.spec b/packaging/wifi-efl-ug.spec index fd7b748..2b91175 100644 --- a/packaging/wifi-efl-ug.spec +++ b/packaging/wifi-efl-ug.spec @@ -1,7 +1,7 @@ %define _unpackaged_files_terminate_build 0 Name: wifi-efl-ug Summary: Wi-Fi UI Gadget for TIZEN -Version: 1.0.204 +Version: 1.0.205 Release: 1 Group: App/Network License: Flora-1.1 diff --git a/sources/wearable/src/wearable-circle/app_main.c b/sources/wearable/src/wearable-circle/app_main.c index 9c4e4d9..1904d25 100755 --- a/sources/wearable/src/wearable-circle/app_main.c +++ b/sources/wearable/src/wearable-circle/app_main.c @@ -2480,15 +2480,12 @@ static int _convert_colorcode_to_hex(const gchar *code) static gchar *_make_static_ip_menu_text(const gchar *text, const gchar *default_text) { - if (text != NULL) { - return g_strdup_printf("%s", - _convert_colorcode_to_hex("T022"), text); - } else if (default_text != NULL) { - return g_strdup_printf("%s", - _convert_colorcode_to_hex("T022D"), default_text); - } else { + if (text != NULL) + return g_strdup(text); + else if (default_text != NULL) + return g_strdup(default_text); + else return NULL; - } } static char *__static_ip_menu_ip_address_text_get_cb(void *data, Evas_Object *obj, const char *part)