hoversel: Icon parent set to button.

Summary: This is an optimization over parent set to hoversel object.

Reviewers: seoz, raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D853
This commit is contained in:
Amitesh Singh 2014-05-15 12:09:33 +09:00 committed by Carsten Haitzler (Rasterman)
parent 4d416adfcf
commit e6748f033a
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ _activate(Evas_Object *obj)
if (item->icon_file)
{
ic = elm_icon_add(obj);
ic = elm_icon_add(bt);
elm_image_resizable_set(ic, EINA_FALSE, EINA_TRUE);
if (item->icon_type == ELM_ICON_FILE)
elm_image_file_set(ic, item->icon_file, item->icon_group);