elementry: add missing item class and add exception handling code for edjc_class... 48/181048/1
authorJeonghyun Yun <jh0506.yun@samsung.com>
Fri, 11 May 2018 02:56:57 +0000 (11:56 +0900)
committerJeonghyun Yun <jh0506.yun@samsung.com>
Fri, 8 Jun 2018 00:21:03 +0000 (09:21 +0900)
@tizen_fix

Change-Id: I3341c98052d80e2cdbac5cd5468fa82ee70882bd
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
src/lib/elementary/efl_ui_widget.c

index d08a1b5..d0d80d5 100644 (file)
@@ -200,6 +200,7 @@ static const char *legacy_type_table[][2] =
      { "Elm.Index.Item", "Elm_Index_Item" },
      { "Elm.Popup.Item", "Elm_Popup_Item" },
      { "Elm.List.Item", "Elm_List_Item" },
+     { "Elm.Color.Item", "Elm_Color_Item" },
      /* END */
      { NULL, NULL }
 };
@@ -9401,7 +9402,7 @@ _elm_widget_edje_class_get(Evas_Object *obj, const char *style, const char *part
 
    if (klass_name)
      {
-        if (is_legacy)
+        if (is_legacy && strchr(klass_name, "_"))
           {
              eina_strbuf_append(buf, strchr(klass_name, '_') + 1);
              eina_strbuf_tolower(buf);