[TSAM-8835] Wearable: Remove the undefined color code 10/92910/2
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 19 Oct 2016 09:52:52 +0000 (18:52 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 19 Oct 2016 09:58:44 +0000 (18:58 +0900)
Change-Id: I34f03b4e1a9dfcc291b92e11a55a9b11051b8d64
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/wifi-efl-ug.spec
sources/wearable/src/wearable-circle/app_main.c

index fd7b748..2b91175 100644 (file)
@@ -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
index 9c4e4d9..1904d25 100755 (executable)
@@ -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("<color=#%08x>%s</color>",
-                                      _convert_colorcode_to_hex("T022"), text);
-       } else if (default_text != NULL) {
-               return g_strdup_printf("<color=#%08x>%s</color>",
-                                      _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)