forked from enlightenment/efl
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:
parent
4d416adfcf
commit
e6748f033a
|
@ -185,7 +185,7 @@ _activate(Evas_Object *obj)
|
||||||
|
|
||||||
if (item->icon_file)
|
if (item->icon_file)
|
||||||
{
|
{
|
||||||
ic = elm_icon_add(obj);
|
ic = elm_icon_add(bt);
|
||||||
elm_image_resizable_set(ic, EINA_FALSE, EINA_TRUE);
|
elm_image_resizable_set(ic, EINA_FALSE, EINA_TRUE);
|
||||||
if (item->icon_type == ELM_ICON_FILE)
|
if (item->icon_type == ELM_ICON_FILE)
|
||||||
elm_image_file_set(ic, item->icon_file, item->icon_group);
|
elm_image_file_set(ic, item->icon_file, item->icon_group);
|
||||||
|
|
Loading…
Reference in New Issue