fixed plugin image size problem
[framework/uifw/elementary.git] / src / edje_externals / elm_hoversel.c
index 9ee6585..d345316 100644 (file)
@@ -21,7 +21,7 @@ external_hoversel_state_set(void *data __UNUSED__, Evas_Object *obj, const void
    if (p->label)
      elm_object_text_set(obj, p->label);
    if (p->icon)
-     elm_hoversel_icon_set(obj, p->icon);
+     elm_object_part_content_set(obj, "icon", p->icon);
    if (p->horizontal_exists)
       elm_hoversel_horizontal_set(obj, p->horizontal);
 }
@@ -43,7 +43,7 @@ external_hoversel_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_
          {
             Evas_Object *icon = external_common_param_icon_get(obj, param);
             if ((strcmp(param->s, "")) && (!icon)) return EINA_FALSE;
-            elm_hoversel_icon_set(obj, icon);
+            elm_object_part_content_set(obj, "icon", icon);
             return EINA_TRUE;
          }
      }