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)