forked from enlightenment/enlightenment
parent
84a4e7a5e5
commit
69821ee547
|
@ -1237,7 +1237,10 @@ _e_menu_item_realize(E_Menu_Item *mi)
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
evas_object_del(o);
|
{
|
||||||
|
evas_object_del(o);
|
||||||
|
o = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
/* FIXME: Not sure why there are two different tries to get the icon size, surely only the last one si needed. */
|
/* FIXME: Not sure why there are two different tries to get the icon size, surely only the last one si needed. */
|
||||||
/* FIXME: Do it this way later, when e_app_icon_add() just registers a request for an icon to be filled in when it's ready.
|
/* FIXME: Do it this way later, when e_app_icon_add() just registers a request for an icon to be filled in when it's ready.
|
||||||
|
@ -1264,6 +1267,11 @@ _e_menu_item_realize(E_Menu_Item *mi)
|
||||||
icon_w = iww;
|
icon_w = iww;
|
||||||
icon_h = ihh;
|
icon_h = ihh;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
evas_object_del(o);
|
||||||
|
o = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!mi->icon_object)
|
if (!mi->icon_object)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue